Reference documentation and code samples for the Secret Manager V1beta1 Client class AccessSecretVersionResponse.
Response message for SecretManagerService.AccessSecretVersion.
Generated from protobuf message google.cloud.secrets.v1beta1.AccessSecretVersionResponse
Methods
__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\V1beta1\SecretPayload
Secret payload |
getName
The resource name of the SecretVersion in the format
projects/*/secrets/*/versions/*
.
Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setName
The resource name of the SecretVersion in the format
projects/*/secrets/*/versions/*
.
Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPayload
Secret payload
Generated from protobuf field .google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\SecretManager\V1beta1\SecretPayload|null |
hasPayload
clearPayload
setPayload
Secret payload
Generated from protobuf field .google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecretManager\V1beta1\SecretPayload
|
Returns | |
---|---|
Type | Description |
$this |