Monitoring/src/V3/UptimeCheckConfig/ResourceGroup.php
public function setResourceType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\GroupResourceType::class);
        $this->resource_type = $var;

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

        return $this;
    }
public function setResourceType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ GroupResourceType :: class ) ; $ this -> resource_type = $ var ; return $ this ; }
The resource type of the group members.

Generated from protobuf field <code>.google.monitoring.v3.GroupResourceType resource_type = 2;</code>
@param int $var
@return $this
The resource type of the group members .