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 page provides documentation for the `EncryptionConfig` class within the `Google.Cloud.Spanner.Admin.Database.V1` namespace, specifically detailing its use in Cloud Spanner database encryption."],["Multiple versions of the `EncryptionConfig` class are available, ranging from version 3.5.0 to 5.0.0-beta05, with 5.0.0-beta05 being the latest version available."],["The `EncryptionConfig` class allows users to configure the Cloud KMS key used for encrypting and decrypting the database, using the `KmsKeyName` property to specify the key's resource name."],["This class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and inherits from `Object`, providing methods for deep cloning, buffering, and comparison."],["There are two constructors provided, one being the default, and the other taking an existing `EncryptionConfig` object as a parameter, allowing a way to copy data."]]],[]]