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."],[[["The `EncryptionConfig` class, found within the `Google.Cloud.Spanner.Admin.Database.V1` namespace, provides encryption configuration for a Cloud Spanner database."],["This class offers properties to define the Cloud KMS key used for database encryption and decryption, such as `KmsKeyName` and its typed counterpart, `KmsKeyNameAsCryptoKeyName`."],["The latest version available is `5.0.0-beta05`, and there are various other versions listed from `5.0.0-beta04` all the way down to `3.5.0`."],["It implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`, enabling it with standard functionalities such as `GetHashCode`, `GetType`, `MemberwiseClone` and `ToString`."]]],[]]