Google Cloud Memorystore for Redis V1beta1 API - Module Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode (v0.7.0)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API module Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode.

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

Constants

DATA_PROTECTION_MODE_UNSPECIFIED

value: 0
Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.

LIMITED_DATA_LOSS

value: 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

value: 2
Instance failover will be performed without data loss control.