Reference documentation and code samples for the Secret Manager V1 Client class EnableManagedRotationRequest.
Request message for SecretManagerService.EnableManagedRotation.
Generated from protobuf message google.cloud.secretmanager.v1.EnableManagedRotationRequest
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 |
|
getCloudSqlSingleUserCredentials
Credentials required for Cloud SQL DB for Single user Managed Rotation.
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest\CloudSQLSingleUserCredentials|null |
|
hasCloudSqlSingleUserCredentials
setCloudSqlSingleUserCredentials
Credentials required for Cloud SQL DB for Single user Managed Rotation.
| Parameter | |
|---|---|
| Name | Description |
var |
EnableManagedRotationRequest\CloudSQLSingleUserCredentials
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCredentials
| Returns | |
|---|---|
| Type | Description |
string |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The resource name of the
Secret to associate with the
SecretVersion in the format
|
cloudSqlSingleUserCredentials |
EnableManagedRotationRequest\CloudSQLSingleUserCredentials
Credentials required for Cloud SQL DB for Single user Managed Rotation. |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest |
|