Class CopyBackupRequest
The request for CopyBackup.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class CopyBackupRequest : IDirectResponseSchema
Properties
BackupId
Required. The id of the backup copy. The backup_id
appended to parent
forms the full backup_uri of the
form projects//instances//backups/
.
Declaration
[JsonProperty("backupId")]
public virtual string BackupId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EncryptionConfig
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
.
Declaration
[JsonProperty("encryptionConfig")]
public virtual CopyBackupEncryptionConfig EncryptionConfig { get; set; }
Property Value
Type | Description |
---|---|
CopyBackupEncryptionConfig |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
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 the create_time
of the source backup. Once the expire_time
has passed,
the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the
backup.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceBackup
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/
.
Declaration
[JsonProperty("sourceBackup")]
public virtual string SourceBackup { get; set; }
Property Value
Type | Description |
---|---|
string |