public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Encryption configuration for a Cloud Spanner database.
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>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `EncryptionConfig` class within the `Google.Cloud.Spanner.Admin.Database.V1` namespace for .NET, used for configuring Cloud Spanner database encryption."],["The most recent stable version is 4.6.0, while 5.0.0-beta05 represents the latest beta, and the page lists various past versions, down to 3.5.0."],["The `EncryptionConfig` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, to work with Google Protocol Buffers."],["Key properties of `EncryptionConfig` include `KmsKeyName` and `KmsKeyNameAsCryptoKeyName`, which are essential for defining the Cloud KMS key used for database encryption and decryption."],["The page outlines the class's constructors, showing that it can be initialized either with no parameters or by copying another instance of the `EncryptionConfig`."]]],[]]