# Google Cloud Redis Cluster V1 Client - Class ZoneDistributionMode (0.8.0)

0.8.0 (latest) 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ZoneDistributionMode.

Defines various modes of zone distribution.

Protobuf type `google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode`

## Namespace

Google \\ Cloud \\ Redis \\ Cluster \\ V1 \\ ZoneDistributionConfig

## Methods

### static::name

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

### static::value

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

## Constants

### ZONE_DISTRIBUTION_MODE_UNSPECIFIED

    Value: 0

Not Set. Default: MULTI_ZONE

Generated from protobuf enum `ZONE_DISTRIBUTION_MODE_UNSPECIFIED = 0;`

### MULTI_ZONE

    Value: 1

Distribute all resources across 3 zones picked at random, within the
region.

Generated from protobuf enum `MULTI_ZONE = 1;`

### SINGLE_ZONE

    Value: 2

Distribute all resources in a single zone. The zone field must be
specified, when this mode is selected.

Generated from protobuf enum `SINGLE_ZONE = 2;`