Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1beta Client class EncryptionConfig.
EncryptionConfig describes the encryption config of a cluster or a backup
that is encrypted with a CMEK (customer-managed encryption key).
Generated from protobuf messagegoogle.cloud.alloydb.v1beta.EncryptionConfig
Namespace
Google \ Cloud \ AlloyDb \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ kms_key_name
string
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]
getKmsKeyName
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]
Returns
Type
Description
string
setKmsKeyName
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-09-04 UTC."],[],[],null,[]]