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 \ V1Methods
__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: |
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 |