3.6.0 (latest) 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.5.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class FailoverInstanceRequest.

Request for \[Failover\]\[google.cloud.redis.v1.CloudRedis.FailoverInstance\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Redis.V1.dll

## Constructors

### FailoverInstanceRequest()

    public FailoverInstanceRequest()

### FailoverInstanceRequest(FailoverInstanceRequest)

    public FailoverInstanceRequest(FailoverInstanceRequest other)

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

## Properties

### DataProtectionMode

    public FailoverInstanceRequest.Types.DataProtectionMode DataProtectionMode { get; set; }

Optional. Available data protection modes that the user can choose. If it's
unspecified, data protection mode will be LIMITED_DATA_LOSS by default.

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

### InstanceName

    public InstanceName InstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.InstanceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.FailoverInstanceRequest.md.txt#Google_Cloud_Redis_V1_FailoverInstanceRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

Required. Redis instance resource name using the form:
`projects/{project_id}/locations/{location_id}/instances/{instance_id}`
where `location_id` refers to a GCP region.

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