public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class EncryptionConfig.
Encryption configuration for a Cloud Spanner database.
Implements
IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
EncryptionConfig()
public EncryptionConfig()
EncryptionConfig(EncryptionConfig)
public EncryptionConfig(EncryptionConfig other)
Parameter | |
---|---|
Name | Description |
other | EncryptionConfig |
Properties
KmsKeyName
public string KmsKeyName { get; set; }
The Cloud KMS key to be used for encrypting and decrypting
the database. 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 |