public sealed class CreateBackupRequest : IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessage
The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
Implements
IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
CreateBackupRequest()
public CreateBackupRequest()
CreateBackupRequest(CreateBackupRequest)
public CreateBackupRequest(CreateBackupRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateBackupRequest |
Properties
Backup
public Backup Backup { get; set; }
Required. The backup to create.
Property Value | |
---|---|
Type | Description |
Backup |
BackupId
public string BackupId { get; set; }
Required. The id of the backup to be created. The backup_id
appended to
parent
forms the full backup name of the form
projects/<project>/instances/<instance>/backups/<backup_id>
.
Property Value | |
---|---|
Type | Description |
String |
EncryptionConfig
public CreateBackupEncryptionConfig EncryptionConfig { get; set; }
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 database by default, namely
[encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
USE_DATABASE_ENCRYPTION
.
Property Value | |
---|---|
Type | Description |
CreateBackupEncryptionConfig |
Parent
public string Parent { get; set; }
Required. The name of the instance in which the backup will be
created. This must be the same instance that contains the database the
backup will be created from. The backup will be stored in the
location(s) specified in the instance configuration of this
instance. Values are of the form
projects/<project>/instances/<instance>
.
Property Value | |
---|---|
Type | Description |
String |
ParentAsInstanceName
public InstanceName ParentAsInstanceName { get; set; }
Google.Cloud.Spanner.Common.V1.InstanceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
Google.Cloud.Spanner.Common.V1.InstanceName |