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 message google.cloud.developerconnect.v1.CryptoKeyConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__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 of |
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 of
projects/*/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 of
projects/*/locations/*/keyRings/*/cryptoKeys/*
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |