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-04-17 UTC."],[[["This page details the `EncryptionConfig` class within the `Google.Cloud.Spanner.Admin.Database.V1` namespace for .NET, used for configuring Cloud Spanner database encryption."],["The latest available version of this class is `5.0.0-beta05`, with multiple prior versions listed ranging down to `3.5.0` being accessible through links."],["The `EncryptionConfig` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` for managing encryption configurations."],["Key properties of the `EncryptionConfig` class include `KmsKeyName`, which allows setting a Cloud KMS key for encryption/decryption, and `KmsKeyNameAsCryptoKeyName`, providing a typed view of the resource name."],["The page contains details about the `EncryptionConfig` class constructors and the inherited methods."]]],[]]