Google Cloud Redis V1 Client - Class DataProtectionMode (1.8.4)
Stay organized with collections
Save and categorize content based on your preferences.
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 \ FailoverInstanceRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DATA_PROTECTION_MODE_UNSPECIFIED
Value: 0Defaults 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: 1Instance 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: 2Instance failover will be performed without data loss control.
Generated from protobuf enum FORCE_DATA_LOSS = 2;