Google Cloud Redis V1 Client - Class SnapshotPeriod (2.0.0)

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

Available snapshot periods for scheduling.

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

Namespace

Google \ Cloud \ Redis \ V1 \ PersistenceConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SNAPSHOT_PERIOD_UNSPECIFIED

Value: 0

Not set.

Generated from protobuf enum SNAPSHOT_PERIOD_UNSPECIFIED = 0;

ONE_HOUR

Value: 3

Snapshot every 1 hour.

Generated from protobuf enum ONE_HOUR = 3;

SIX_HOURS

Value: 4

Snapshot every 6 hours.

Generated from protobuf enum SIX_HOURS = 4;

TWELVE_HOURS

Value: 5

Snapshot every 12 hours.

Generated from protobuf enum TWELVE_HOURS = 5;

TWENTY_FOUR_HOURS

Value: 6

Snapshot every 24 hours.

Generated from protobuf enum TWENTY_FOUR_HOURS = 6;