Class EncryptionConfig (3.15.1)

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

Encryption configuration for a Cloud Spanner database.

Inheritance

Object > EncryptionConfig

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

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

Constructors

EncryptionConfig()

public EncryptionConfig()

EncryptionConfig(EncryptionConfig)

public EncryptionConfig(EncryptionConfig other)
Parameter
NameDescription
otherEncryptionConfig

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/&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