Google Cloud Spanner Database Administration v1 API - Class CreateBackupRequest (5.0.0-beta02)

public sealed class CreateBackupRequest : IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class CreateBackupRequest.

The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].

Inheritance

object > CreateBackupRequest

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

Google.Cloud.Spanner.Admin.Database.V1.dll

Constructors

CreateBackupRequest()

public CreateBackupRequest()

CreateBackupRequest(CreateBackupRequest)

public CreateBackupRequest(CreateBackupRequest other)
Parameter
NameDescription
otherCreateBackupRequest

Properties

Backup

public Backup Backup { get; set; }

Required. The backup to create.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsInstanceName

public InstanceName ParentAsInstanceName { get; set; }

Google.Cloud.Spanner.Common.V1.InstanceName-typed view over the Parent resource name property.

Property Value
TypeDescription
Google.Cloud.Spanner.Common.V1.InstanceName