# Google Cloud Redis V1 Client - Class ReadReplicasMode (2.2.3)

2.2.3 (latest) 2.2.2 2.1.6 2.0.0 1.9.5 1.8.4 1.7.0 1.6.12 Reference documentation and code samples for the Google Cloud Redis V1 Client class ReadReplicasMode.

Read replicas mode.

Protobuf type `google.cloud.redis.v1.Instance.ReadReplicasMode`

## Namespace

Google \\ Cloud \\ Redis \\ V1 \\ Instance

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### READ_REPLICAS_MODE_UNSPECIFIED

    Value: 0

If not set, Memorystore Redis backend will default to
READ_REPLICAS_DISABLED.

Generated from protobuf enum `READ_REPLICAS_MODE_UNSPECIFIED = 0;`

### READ_REPLICAS_DISABLED

    Value: 1

If disabled, read endpoint will not be provided and the instance cannot
scale up or down the number of replicas.

Generated from protobuf enum `READ_REPLICAS_DISABLED = 1;`

### READ_REPLICAS_ENABLED

    Value: 2

If enabled, read endpoint will be provided and the instance can scale
up and down the number of replicas. Not valid for basic tier.

Generated from protobuf enum `READ_REPLICAS_ENABLED = 2;`