Google Cloud Redis V1 Client - Class DataProtectionMode (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Redis V1 Client class DataProtectionMode.

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

Protobuf type google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionMode

Namespace

Google \ Cloud \ Redis \ V1 \ 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.

Generated from protobuf enum FORCE_DATA_LOSS = 2;