Reference documentation and code samples for the Secret Manager V1beta2 Client class AccessSecretVersionResponse.
Response message for SecretManagerService.AccessSecretVersion.
Generated from protobuf message google.cloud.secretmanager.v1beta2.AccessSecretVersionResponse
Namespace
Google \ Cloud \ SecretManager \ V1beta2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The resource name of the SecretVersion in the format |
↳ payload |
Google\Cloud\SecretManager\V1beta2\SecretPayload
Secret payload |
getName
The resource name of the
SecretVersion in the
format projects/*/secrets/*/versions/*
or
projects/*/locations/*/secrets/*/versions/*
.
Returns | |
---|---|
Type | Description |
string |
setName
The resource name of the
SecretVersion in the
format projects/*/secrets/*/versions/*
or
projects/*/locations/*/secrets/*/versions/*
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPayload
Secret payload
Returns | |
---|---|
Type | Description |
Google\Cloud\SecretManager\V1beta2\SecretPayload|null |
hasPayload
clearPayload
setPayload
Secret payload
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecretManager\V1beta2\SecretPayload
|
Returns | |
---|---|
Type | Description |
$this |