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."],[[["The `EncryptionConfig` class provides encryption configuration settings for Cloud Spanner databases, including the specification of a Cloud KMS key."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering diverse functionalities within the .NET environment."],["It includes properties like `KmsKeyName` for setting the encryption key and `KmsKeyNameAsCryptoKeyName` for providing a structured view of the key name."],["Multiple versions of this class are available, from version 3.5.0 up to the latest beta version, 5.0.0-beta05."],["The class is found in the namespace `Google.Cloud.Spanner.Admin.Database.V1`, and is contained within the `Google.Cloud.Spanner.Admin.Database.V1.dll` assembly."]]],[]]