Monitoring/src/V3/CreateGroupRequest.php
public function setGroup($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\Group::class);
        $this->group = $var;

        return $this;
    }
public function setGroup($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\Group::class);
        $this->group = $var;

        return $this;
    }
public function setGroup ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ Group :: class ) ; $ this -> group = $ var ; return $ this ; }
A group definition. It is an error to define the `name` field because
the system assigns the name.

Generated from protobuf field <code>.google.monitoring.v3.Group group = 2;</code>
@param \Google\Cloud\Monitoring\V3\Group $var
@return $this
A group definition . It is an error to define the name field because the system assigns the name .