Google Cloud Spanner Database Administration v1 API - Class EncryptionConfig (4.4.0)

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.

Inheritance

object > EncryptionConfig

Namespace

GoogleCloudGoogle.Cloud.SpannerGoogle.Cloud.Spanner.AdminGoogle.Cloud.Spanner.Admin.DatabaseV1

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/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<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