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

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.

Parameter
Name
Description
data
mixed

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: