projects

Initiates a failover of the primary node to current replica node for a specific STANDARD tier Cloud Memorystore for Redis instance.

post/v1/{+name}:failover

Path parameters

namestring required

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.

Request body

dataProtectionMode'DATA_PROTECTION_MODE_UNSPECIFIED' | 'LIMITED_DATA_LOSS' | 'FORCE_DATA_LOSS'

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

Response

Successful response

Changes