Google Cloud Discovery Engine V1 Client - Class SingleRegionKey (1.11.1)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SingleRegionKey.
Metadata for single-regional CMEKs.
Generated from protobuf messagegoogle.cloud.discoveryengine.v1.SingleRegionKey
Namespace
Google \ Cloud \ DiscoveryEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ kms_key
string
Required. Single-regional kms key resource name which will be used to encrypt resourcesprojects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}.
getKmsKey
Required. Single-regional kms key resource name which will be used to
encrypt resourcesprojects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}.
Returns
Type
Description
string
setKmsKey
Required. Single-regional kms key resource name which will be used to
encrypt resourcesprojects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}.
[[["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 2026-03-18 UTC."],[],[]]