Google Cloud Dataproc Metastore V1beta Client - Class Secret (0.10.2)

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

Namespace

Google \ Cloud \ Metastore \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string