GoogleApi.Spanner.V1.Model.CopyBackupRequest (google_api_spanner v0.48.0)
View SourceThe request for CopyBackup.
Attributes
-
backupId
(type:String.t
, default:nil
) - Required. The id of the backup copy. Thebackup_id
appended toparent
forms the full backup_uri of the formprojects//instances//backups/
. -
encryptionConfig
(type:GoogleApi.Spanner.V1.Model.CopyBackupEncryptionConfig.t
, default:nil
) - Optional. The encryption configuration used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the source backup by default, namely encryption_type =USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION
. -
expireTime
(type:DateTime.t
, default:nil
) - Required. The expiration time of the backup in microsecond granularity. The expiration time must be at least 6 hours and at most 366 days from thecreate_time
of the source backup. Once theexpire_time
has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup. -
sourceBackup
(type:String.t
, default:nil
) - Required. The source backup to be copied. The source backup needs to be in READY state for it to be copied. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form:projects//instances//backups/
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Spanner.V1.Model.CopyBackupRequest{ backupId: String.t() | nil, encryptionConfig: GoogleApi.Spanner.V1.Model.CopyBackupEncryptionConfig.t() | nil, expireTime: DateTime.t() | nil, sourceBackup: String.t() | nil }