public sealed class RestoreDatabaseEncryptionConfig : IMessage<RestoreDatabaseEncryptionConfig>, IEquatable<RestoreDatabaseEncryptionConfig>, IDeepCloneable<RestoreDatabaseEncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class RestoreDatabaseEncryptionConfig.
Encryption configuration for the restored database.
Implements
IMessageRestoreDatabaseEncryptionConfig, IEquatableRestoreDatabaseEncryptionConfig, IDeepCloneableRestoreDatabaseEncryptionConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
RestoreDatabaseEncryptionConfig()
public RestoreDatabaseEncryptionConfig()
RestoreDatabaseEncryptionConfig(RestoreDatabaseEncryptionConfig)
public RestoreDatabaseEncryptionConfig(RestoreDatabaseEncryptionConfig other)
Parameter | |
---|---|
Name | Description |
other | RestoreDatabaseEncryptionConfig |
Properties
EncryptionType
public RestoreDatabaseEncryptionConfig.Types.EncryptionType EncryptionType { get; set; }
Required. The encryption type of the restored database.
Property Value | |
---|---|
Type | Description |
RestoreDatabaseEncryptionConfigTypesEncryptionType |
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/<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 |