Monitoring/src/V3/UptimeCheckIp.php
public function setRegion($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\UptimeCheckRegion::class);
        $this->region = $var;

        return $this;
    }
public function setRegion($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\UptimeCheckRegion::class);
        $this->region = $var;

        return $this;
    }
public function setRegion ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ UptimeCheckRegion :: class ) ; $ this -> region = $ var ; return $ this ; }
A broad region category in which the IP address is located.

Generated from protobuf field <code>.google.monitoring.v3.UptimeCheckRegion region = 1;</code>
@param int $var
@return $this
A broad region category in which the IP address is located .