Google Cloud Api Hub V1 Client - Class Secret (0.4.2)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class Secret.

Secret provides a reference to entries in Secret Manager.

Generated from protobuf message google.cloud.apihub.v1.Secret

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ secret_version
string

Required. The resource name of the secret version in the format, format as: projects/*/secrets/*/versions/* .

getSecretVersion

Required. The resource name of the secret version in the format, format as: projects/*/secrets/*/versions/* .

Returns
Type
Description
string

setSecretVersion

Required. The resource name of the secret version in the format, format as: projects/*/secrets/*/versions/* .

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: