public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class within the AlloyDB v1beta API is used to configure encryption settings for clusters or backups, specifically when utilizing customer-managed encryption keys (CMEK).\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities such as deep cloning, equality comparison, and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class has two constructors, one default and another that allows for creating a copy of an existing \u003ccode\u003eEncryptionConfig\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsKeyName\u003c/code\u003e property, a string, is used to specify the fully-qualified resource name of the customer-managed KMS key in the format \u003ccode\u003eprojects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace of the class is \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e, and it's located in the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]