Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class Secret.
A securely stored value.
Generated from protobuf message google.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}.
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}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,[]]