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.
Specifies different modes of operation in relation to the
data retention.
Values:
DATA_PROTECTION_MODE_UNSPECIFIED (0):
Defaults to LIMITED_DATA_LOSS if a data protection mode is
not specified.
LIMITED_DATA_LOSS (1):
Instance failover will be protected with data
loss control. More specifically, the failover
will only be performed if the current
replication offset diff between primary and
replica is under a certain threshold.
FORCE_DATA_LOSS (2):
Instance failover will be performed without
data loss control.