Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CmekConfig.
Configurations used to enable CMEK data encryption with Cloud KMS keys.
Generated from protobuf message google.cloud.discoveryengine.v1.CmekConfig
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the CmekConfig of the form projects/{project}/locations/{location}/cmekConfig
or projects/{project}/locations/{location}/cmekConfigs/{cmek_config}
.
↳ kms_key
string
KMS key resource name which will be used to encrypt resources projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}
.
↳ kms_key_version
string
KMS key version resource name which will be used to encrypt resources <kms_key>/cryptoKeyVersions/{keyVersion}
.
↳ state
int
Output only. The states of the CmekConfig.
↳ is_default
bool
Output only. The default CmekConfig for the Customer.
↳ last_rotation_timestamp_micros
int|string
Output only. The timestamp of the last key rotation.
↳ single_region_keys
↳ notebooklm_state
int
Output only. Whether the NotebookLM Corpus is ready to be used.
getName
Required. The name of the CmekConfig of the form projects/{project}/locations/{location}/cmekConfig
or projects/{project}/locations/{location}/cmekConfigs/{cmek_config}
.
string
setName
Required. The name of the CmekConfig of the form projects/{project}/locations/{location}/cmekConfig
or projects/{project}/locations/{location}/cmekConfigs/{cmek_config}
.
var
string
$this
getKmsKey
KMS key resource name which will be used to encrypt resources projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}
.
string
setKmsKey
KMS key resource name which will be used to encrypt resources projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}
.
var
string
$this
getKmsKeyVersion
KMS key version resource name which will be used to encrypt resources <kms_key>/cryptoKeyVersions/{keyVersion}
.
string
setKmsKeyVersion
KMS key version resource name which will be used to encrypt resources <kms_key>/cryptoKeyVersions/{keyVersion}
.
var
string
$this
getState
Output only. The states of the CmekConfig.
int
setState
Output only. The states of the CmekConfig.
var
int
$this
getIsDefault
Output only. The default CmekConfig for the Customer.
bool
setIsDefault
Output only. The default CmekConfig for the Customer.
var
bool
$this
getLastRotationTimestampMicros
Output only. The timestamp of the last key rotation.
int|string
setLastRotationTimestampMicros
Output only. The timestamp of the last key rotation.
var
int|string
$this
getSingleRegionKeys
Optional. Single-regional CMEKs that are required for some VAIS features.
setSingleRegionKeys
Optional. Single-regional CMEKs that are required for some VAIS features.
$this
getNotebooklmState
Output only. Whether the NotebookLM Corpus is ready to be used.
int
setNotebooklmState
Output only. Whether the NotebookLM Corpus is ready to be used.
var
int
$this