Google Cloud Memorystore V1 Client - Class PersistenceMode (0.1.0)

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

Possible persistence modes.

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

Namespace

Google \ Cloud \ Memorystore \ 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, 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;