mode = $mode; } /** * @return self::MODE_* */ public function getMode() { return $this->mode; } /** * 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. * * @param string $zone */ public function setZone($zone) { $this->zone = $zone; } /** * @return string */ public function getZone() { return $this->zone; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ZoneDistributionConfig::class, 'Google_Service_CloudRedis_ZoneDistributionConfig');