public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class EncryptionConfig.
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."],[[["This document provides reference information for the `EncryptionConfig` class within the Google Cloud Spanner Database Administration v1 API, specifically for version 4.3.0."],["The `EncryptionConfig` class is used to define the encryption settings for a Cloud Spanner database, allowing specification of a Cloud KMS key."],["There are multiple versions of the API available, ranging from 3.5.0 to the latest beta release of 5.0.0-beta05, and this page is for version 4.3.0 of the API."],["The `EncryptionConfig` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `EncryptionConfig` class include `KmsKeyName` (a string representing the KMS key name) and `KmsKeyNameAsCryptoKeyName` which provides a typed view of the `KmsKeyName`."]]],[]]