Secret Manager V1 Client - Class RotateSecretRequest (2.4.0)

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 \ V1

Methods

__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 projects/*/secrets/* or projects/*/locations/*/secrets/*. Please see SecretManagerServiceClient::secretName() for help formatting this field.

Returns
Type Description
RotateSecretRequest