Google Cloud Redis V1 Client - Class PersistenceMode (1.9.5)

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

Available Persistence modes.

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

Namespace

Google \ Cloud \ Redis \ V1 \ PersistenceConfig

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 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;