Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ZoneDistributionConfig.
Zone distribution config for allocation of cluster resources.
Generated from protobuf message google.cloud.redis.cluster.v1.ZoneDistributionConfig
Namespace
Google \ Cloud \ Redis \ Cluster \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ mode
int
Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
↳ zone
string
Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
getMode
Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
int
setMode
Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
var
int
$this
getZone
Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
string
setZone
Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
var
string
$this