Monitoring/src/V3/UptimeCheckConfig.php
public function setResourceGroup($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\UptimeCheckConfig_ResourceGroup::class);
        $this->writeOneof(4, $var);

        return $this;
    }
public function setResourceGroup($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\UptimeCheckConfig_ResourceGroup::class);
        $this->writeOneof(4, $var);

        return $this;
    }
public function setResourceGroup ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig_ResourceGroup :: class ) ; $ this -> writeOneof ( 4 , $ var ) ; return $ this ; }
The group resource associated with the configuration.

Generated from protobuf field <code>.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;</code>
@param \Google\Cloud\Monitoring\V3\UptimeCheckConfig\ResourceGroup $var
@return $this
The group resource associated with the configuration .