Google Cloud Redis V1 Client - Class SnapshotPeriod (2.1.6)

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;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.