Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class CryptoKeyConfig.
The crypto key configuration. This field is used by the Customer-managed
encryption keys (CMEK) feature.
Generated from protobuf messagegoogle.cloud.developerconnect.v1.CryptoKeyConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ key_reference
string
Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format ofprojects/*/locations/*/keyRings/*/cryptoKeys/*.
getKeyReference
Required. The name of the key which is used to encrypt/decrypt customer
data. For key in Cloud KMS, the key should be in the format ofprojects/*/locations/*/keyRings/*/cryptoKeys/*.
Returns
Type
Description
string
setKeyReference
Required. The name of the key which is used to encrypt/decrypt customer
data. For key in Cloud KMS, the key should be in the format ofprojects/*/locations/*/keyRings/*/cryptoKeys/*.
[[["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,["# Google Cloud Developer Connect V1 Client - Class CryptoKeyConfig (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.CryptoKeyConfig)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.CryptoKeyConfig)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.CryptoKeyConfig)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.CryptoKeyConfig)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.CryptoKeyConfig) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class CryptoKeyConfig.\n\nThe crypto key configuration. This field is used by the Customer-managed\nencryption keys (CMEK) feature.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.CryptoKeyConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKeyReference\n\nRequired. The name of the key which is used to encrypt/decrypt customer\ndata. For key in Cloud KMS, the key should be in the format of\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n\n### setKeyReference\n\nRequired. The name of the key which is used to encrypt/decrypt customer\ndata. For key in Cloud KMS, the key should be in the format of\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`."]]