public sealed class CopyBackupEncryptionConfig : IMessage<CopyBackupEncryptionConfig>, IEquatable<CopyBackupEncryptionConfig>, IDeepCloneable<CopyBackupEncryptionConfig>, IBufferMessage, IMessage
Encryption configuration for the copied backup.
Implements
IMessage<CopyBackupEncryptionConfig>, IEquatable<CopyBackupEncryptionConfig>, IDeepCloneable<CopyBackupEncryptionConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
CopyBackupEncryptionConfig()
public CopyBackupEncryptionConfig()
CopyBackupEncryptionConfig(CopyBackupEncryptionConfig)
public CopyBackupEncryptionConfig(CopyBackupEncryptionConfig other)
Parameter | |
---|---|
Name | Description |
other | CopyBackupEncryptionConfig |
Properties
EncryptionType
public CopyBackupEncryptionConfig.Types.EncryptionType EncryptionType { get; set; }
Required. The encryption type of the backup.
Property Value | |
---|---|
Type | Description |
CopyBackupEncryptionConfig.Types.EncryptionType |
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.CopyBackupEncryptionConfig.encryption_type] is
CUSTOMER_MANAGED_ENCRYPTION
. Values are of the form
projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>
.
Property Value | |
---|---|
Type | Description |
String |
KmsKeyNameAsCryptoKeyName
public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }
CryptoKeyName-typed view over the KmsKeyName resource name property.
Property Value | |
---|---|
Type | Description |
CryptoKeyName |