Google Cloud Redis V1beta1 Client - Class DataProtectionMode (1.9.5)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Redis V1beta1 Client class DataProtectionMode.
Specifies different modes of operation in relation to the data retention.
Protobuf type google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionMode
Namespace
Google \ Cloud \ Redis \ V1beta1 \ FailoverInstanceRequest
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
DATA_PROTECTION_MODE_UNSPECIFIED
Value: 0
Defaults to LIMITED_DATA_LOSS if a data protection mode is not
specified.
Generated from protobuf enum DATA_PROTECTION_MODE_UNSPECIFIED = 0;
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.
Generated from protobuf enum LIMITED_DATA_LOSS = 1;
FORCE_DATA_LOSS
Value: 2
Instance failover will be performed without data loss control.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]