Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class Secret.
A securely stored value.
Generated from protobuf messagegoogle.cloud.metastore.v1beta.Secret
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ cloud_secret
string
The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}.
getCloudSecret
The relative resource name of a Secret Manager secret version, in the
following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}.
Generated from protobuf fieldstring cloud_secret = 2;
Returns
Type
Description
string
hasCloudSecret
setCloudSecret
The relative resource name of a Secret Manager secret version, in the
following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}.
Generated from protobuf fieldstring cloud_secret = 2;
[[["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,[]]