Google Cloud Spanner Database Administration v1 API - Class CreateBackupEncryptionConfig (5.0.0-beta01)

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

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

Encryption configuration for the backup to create.

Inheritance

object > CreateBackupEncryptionConfig

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

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

Constructors

CreateBackupEncryptionConfig()

public CreateBackupEncryptionConfig()

CreateBackupEncryptionConfig(CreateBackupEncryptionConfig)

public CreateBackupEncryptionConfig(CreateBackupEncryptionConfig other)
Parameter
NameDescription
otherCreateBackupEncryptionConfig

Properties

EncryptionType

public CreateBackupEncryptionConfig.Types.EncryptionType EncryptionType { get; set; }

Required. The encryption type of the backup.

Property Value
TypeDescription
CreateBackupEncryptionConfigTypesEncryptionType

KmsKeyName

public string KmsKeyName { get; set; }

Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>.

Property Value
TypeDescription
string

KmsKeyNameAsCryptoKeyName

public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKeyName resource name property.

Property Value
TypeDescription
CryptoKeyName