Redis/src/V1/LocationMetadata.php
public function setAvailableZones($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Redis\V1\ZoneMetadata::class);
        $this->available_zones = $arr;

        return $this;
    }
public function setAvailableZones($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Redis\V1\ZoneMetadata::class);
        $this->available_zones = $arr;

        return $this;
    }
public function setAvailableZones ( $ var ) { $ arr = GPBUtil :: checkMapField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Redis \ V1 \ ZoneMetadata :: class ) ; $ this -> available_zones = $ arr ; return $ this ; }
Output only. The set of available zones in the location. The map is keyed
by the lowercase ID of each zone, as defined by GCE. These keys can be
specified in `location_id` or `alternative_location_id` fields when
creating a Redis instance.

Generated from protobuf field <code>map<string, .google.cloud.redis.v1.ZoneMetadata> available_zones = 1;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this
Output only . The set of available zones in the location . The map is keyed by the lowercase ID of each zone as defined by GCE . These keys can be specified in location_id or alternative_location_id fields when creating a Redis instance .