Google Cloud Redis Cluster V1 Client - Class ZoneDistributionMode (0.3.0)

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

Defines various modes of zone distribution.

Currently supports two modes, can be expanded in future to support more types of distribution modes. design doc: go/same-zone-cluster

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;