Google Cloud Redis V1beta1 Client - Class PersistenceMode (1.6.12)

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

Available Persistence modes.

Protobuf type google.cloud.redis.v1beta1.PersistenceConfig.PersistenceMode

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

PERSISTENCE_MODE_UNSPECIFIED

Value: 0

Not set.

Generated from protobuf enum PERSISTENCE_MODE_UNSPECIFIED = 0;

DISABLED

Value: 1

Persistence is disabled for the instance, and any existing snapshots are deleted.

Generated from protobuf enum DISABLED = 1;

RDB

Value: 2

RDB based Persistence is enabled.

Generated from protobuf enum RDB = 2;