# Class FailoverInstanceRequest (2.22.0)

2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.1 2.15.5 2.14.0 2.13.1 2.12.1 2.11.1 2.10.0 2.9.3 2.8.1 2.7.1 2.6.0 2.5.1 2.4.1 2.3.0 2.2.4 2.1.1 2.0.0 1.0.2 0.4.0 0.3.0

    FailoverInstanceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for
Failover.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` 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. |
| `data_protection_mode` | `https://docs.cloud.google.com/python/docs/reference/redis/latest/google.cloud.redis_v1.types.FailoverInstanceRequest.DataProtectionMode` Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default. |

## Classes

### DataProtectionMode

    DataProtectionMode(value)

Specifies different modes of operation in relation to the
data retention.