3.0.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0

    public sealed class RotateSecretRequest : IMessage<RotateSecretRequest>, IEquatable<RotateSecretRequest>, IDeepCloneable<RotateSecretRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1 API class RotateSecretRequest.

Request message for
\[SecretManagerService.RotateSecret\]\[google.cloud.secretmanager.v1.SecretManagerService.RotateSecret\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RotateSecretRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RotateSecretRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.RotateSecretRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RotateSecretRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.RotateSecretRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RotateSecretRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.RotateSecretRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.SecretManager.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.md.txt)

## Assembly

Google.Cloud.SecretManager.V1.dll

## Constructors

### RotateSecretRequest()

    public RotateSecretRequest()

### RotateSecretRequest(RotateSecretRequest)

    public RotateSecretRequest(RotateSecretRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RotateSecretRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The resource name of the
\[Secret\]\[google.cloud.secretmanager.v1.Secret\] to associate with the
\[SecretVersion\]\[google.cloud.secretmanager.v1.SecretVersion\] in the format
`projects/*/secrets/*` or `projects/*/locations/*/secrets/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsSecretName

    public SecretName ParentAsSecretName { get; set; }

[SecretName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.SecretName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.RotateSecretRequest.md.txt#Google_Cloud_SecretManager_V1_RotateSecretRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecretName` |   |