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 webpage documents the `EncryptionConfig` class, which is used for configuring encryption in Google Cloud Spanner databases."],["The latest stable version documented on this page is 3.8.0, however there is beta version 5.0.0-beta05 which is considered the latest listed."],["`EncryptionConfig` is part of the `Google.Cloud.Spanner.Admin.Database.V1` namespace and is found in the `Google.Cloud.Spanner.Admin.Database.V1.dll` assembly."],["Key properties of the `EncryptionConfig` class include `KmsKeyName` (a string representing the KMS key) and `KmsKeyNameAsCryptoKeyName` (a typed view of the KMS key as a CryptoKeyName resource)."],["The `EncryptionConfig` class includes constructors for creating new instances, either empty or based on an existing `EncryptionConfig`."]]],[]]