public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class EncryptionConfig.
EncryptionConfig describes the encryption config of a cluster or a backup
that is encrypted with a CMEK (customer-managed encryption key).
The fully-qualified resource name of the KMS key.
Each Cloud KMS key is regionalized and has the following format:
projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[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 latest version available for the Google.Cloud.AlloyDb.V1 API's EncryptionConfig class is 1.9.0, with version 1.4.0 being the current version displayed on the page."],["The EncryptionConfig class, found within the Google.Cloud.AlloyDb.V1 namespace, is used to configure encryption for AlloyDB clusters or backups using customer-managed encryption keys (CMEK)."],["The class implements multiple interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["The EncryptionConfig class has a constructor that can be called with or without an `other` parameter, which would be another instance of EncryptionConfig."],["It also exposes a `KmsKeyName` property that represents the fully-qualified resource name of the KMS key used for encryption, adhering to the format projects/\\[PROJECT\\]/locations/\\[REGION\\]/keyRings/\\[RING\\]/cryptoKeys/\\[KEY_NAME\\]."]]],[]]