0.16.0 (latest) 0.15.0 0.14.0 0.13.3 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Memorystore V1 Client class RDBConfig.

Configuration for RDB based persistence.

Generated from protobuf message `google.cloud.memorystore.v1.PersistenceConfig.RDBConfig`

## Namespace

Google \\ Cloud \\ Memorystore \\ V1 \\ PersistenceConfig

## 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. 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` | Enum of type [SnapshotPeriod](https://docs.cloud.google.com/php/docs/reference/cloud-memorystore/latest/V1.PersistenceConfig.RDBConfig.SnapshotPeriod). |

### setRdbSnapshotPeriod

Optional. Period between RDB snapshots.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SnapshotPeriod](https://docs.cloud.google.com/php/docs/reference/cloud-memorystore/latest/V1.PersistenceConfig.RDBConfig.SnapshotPeriod). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRdbSnapshotStartTime

Optional. 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. 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` |   |