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 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;`