Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class Secret.
A securely stored value.
Generated from protobuf message google.cloud.metastore.v1alpha.Secret
Namespace
Google \ Cloud \ Metastore \ V1alphaMethods
__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: |
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}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |