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 page provides documentation for the `EncryptionConfig` class within the Google Cloud Spanner Database Administration v1 API, specifically focusing on version 4.6.0."],["The `EncryptionConfig` class is used to define the encryption settings for a Cloud Spanner database, and includes methods to view properties such as `KmsKeyName` and `KmsKeyNameAsCryptoKeyName`."],["The page covers the implementation of `EncryptionConfig`, which includes inheriting from objects like `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The latest version of the Spanner Database Administration v1 API available is 5.0.0-beta05, with a range of versions available between this latest one and 3.5.0."],["Constructors are detailed, explaining how to create new `EncryptionConfig` objects, including a parameter for creating a copy from another `EncryptionConfig` object."]]],[]]