Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::CreateBackupRequest (v2.1.0)

Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::CreateBackupRequest.

Request message for SecretOperationsService.CreateBackup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup

def backup() -> ::Google::Cloud::SecretManager::V1::Backup
Returns

#backup=

def backup=(value) -> ::Google::Cloud::SecretManager::V1::Backup
Parameter
Returns

#backup_id

def backup_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the backup, which will become the final component of the backup's resource name.

#backup_id=

def backup_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the backup, which will become the final component of the backup's resource name.
Returns
  • (::String) — Required. The ID to use for the backup, which will become the final component of the backup's resource name.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the location where the Backup will be created, in the format projects/{project}/locations/{location}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the location where the Backup will be created, in the format projects/{project}/locations/{location}.
Returns
  • (::String) — Required. The resource name of the location where the Backup will be created, in the format projects/{project}/locations/{location}.