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 EnableManagedRotationRequest : IMessage<EnableManagedRotationRequest>, IEquatable<EnableManagedRotationRequest>, IDeepCloneable<EnableManagedRotationRequest>, IBufferMessage, IMessage

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

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

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[EnableManagedRotationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.EnableManagedRotationRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EnableManagedRotationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.EnableManagedRotationRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[EnableManagedRotationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.EnableManagedRotationRequest.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

### EnableManagedRotationRequest()

    public EnableManagedRotationRequest()

### EnableManagedRotationRequest(EnableManagedRotationRequest)

    public EnableManagedRotationRequest(EnableManagedRotationRequest other)

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

## Properties

### CloudSqlSingleUserCredentials

    public CloudSqlSingleUserCredentials CloudSqlSingleUserCredentials { get; set; }

Credentials required for Cloud SQL DB for Single user Managed Rotation.

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

### CredentialCase

    public EnableManagedRotationRequest.CredentialOneofCase CredentialCase { get; }

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

### 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.EnableManagedRotationRequest.md.txt#Google_Cloud_SecretManager_V1_EnableManagedRotationRequest_Parent) resource name property.

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