Google Cloud Redis Cluster V1 Client - Class PersistenceMode (0.3.0)

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

Available persistence modes.

Protobuf type google.cloud.redis.cluster.v1.ClusterPersistenceConfig.PersistenceMode

Namespace

Google \ Cloud \ Redis \ Cluster \ V1 \ ClusterPersistenceConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PERSISTENCE_MODE_UNSPECIFIED

Value: 0

Not set.

Generated from protobuf enum PERSISTENCE_MODE_UNSPECIFIED = 0;

DISABLED

Value: 1

Persistence is disabled, and any snapshot data is deleted.

Generated from protobuf enum DISABLED = 1;

RDB

Value: 2

RDB based persistence is enabled.

Generated from protobuf enum RDB = 2;

AOF

Value: 3

AOF based persistence is enabled.

Generated from protobuf enum AOF = 3;