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 page covers versions ranging from 3.5.0 to the latest beta (5.0.0-beta05) of the `Google.Cloud.Spanner.Admin.Database.V1` package, providing access to different versioned documentations."],["`EncryptionConfig` implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering functionalities such as message handling, equality checks, deep cloning, and buffered message support."],["The `EncryptionConfig` class has two constructors and two properties `KmsKeyName`, and `KmsKeyNameAsCryptoKeyName`, which deals with configuring and setting the Cloud KMS key for encryption."],["The `EncryptionConfig` class inherits from `Object`, and includes other members such as `GetHashCode()`, `GetType()`, `MemberwiseClone()`, and `ToString()`."]]],[]]