Class RestoreDatabaseEncryptionConfig (4.0.0)

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

Encryption configuration for the restored database.

Inheritance

Object > RestoreDatabaseEncryptionConfig

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

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

Constructors

RestoreDatabaseEncryptionConfig()

public RestoreDatabaseEncryptionConfig()

RestoreDatabaseEncryptionConfig(RestoreDatabaseEncryptionConfig)

public RestoreDatabaseEncryptionConfig(RestoreDatabaseEncryptionConfig other)
Parameter
NameDescription
otherRestoreDatabaseEncryptionConfig

Properties

EncryptionType

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

Required. The encryption type of the restored database.

Property Value
TypeDescription
RestoreDatabaseEncryptionConfig.Types.EncryptionType

KmsKeyName

public string KmsKeyName { get; set; }

Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored database. This field should be set only when [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects/&lt;project>/locations/&lt;location>/keyRings/&lt;key_ring>/cryptoKeys/&lt;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