Google Cloud Redis Cluster V1 Client - Class RDBConfig (0.3.1)

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

Configuration of the RDB based persistence.

Generated from protobuf message google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig

Namespace

Google \ Cloud \ Redis \ Cluster \ V1 \ ClusterPersistenceConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rdb_snapshot_period int

Optional. Period between RDB snapshots.

↳ rdb_snapshot_start_time Google\Protobuf\Timestamp

Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.

getRdbSnapshotPeriod

Optional. Period between RDB snapshots.

Returns
Type Description
int

setRdbSnapshotPeriod

Optional. Period between RDB snapshots.

Parameter
Name Description
var int
Returns
Type Description
$this

getRdbSnapshotStartTime

Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasRdbSnapshotStartTime

clearRdbSnapshotStartTime

setRdbSnapshotStartTime

Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this