public interface CreateBackupRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Backup |
getBackup()
Required.
|
String |
getBackupId()
Required.
|
ByteString |
getBackupIdBytes()
Required.
|
BackupOrBuilder |
getBackupOrBuilder()
Required.
|
CreateBackupEncryptionConfig |
getEncryptionConfig()
Optional.
|
CreateBackupEncryptionConfigOrBuilder |
getEncryptionConfigOrBuilder()
Optional.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
boolean |
hasBackup()
Required.
|
boolean |
hasEncryptionConfig()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
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>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
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>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getBackupId()
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>`.
string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
ByteString getBackupIdBytes()
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>`.
string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
boolean hasBackup()
Required. The backup to create.
.google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
Backup getBackup()
Required. The backup to create.
.google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
BackupOrBuilder getBackupOrBuilder()
Required. The backup to create.
.google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
boolean hasEncryptionConfig()
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`.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL];
CreateBackupEncryptionConfig getEncryptionConfig()
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`.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL];
CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
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`.
.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2022 Google LLC. All rights reserved.