Reference documentation and code samples for the Secret Manager V1 Client class RotateSecretRequest.
Request message for SecretManagerService.RotateSecret.
Generated from protobuf message google.cloud.secretmanager.v1.RotateSecretRequest
Namespace
Google \ Cloud \ SecretManager \ V1Methods
__construct
Constructor.
| Parameter | |
|---|---|
| Name | Description |
data |
mixed
|
getParent
Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The resource name of the
Secret to associate with the
SecretVersion in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The resource name of the
Secret to associate with the
SecretVersion in the format
|
| Returns | |
|---|---|
| Type | Description |
RotateSecretRequest |
|