Logging/src/V2/UpdateExclusionRequest.php
public function setExclusion($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Logging\V2\LogExclusion::class);
        $this->exclusion = $var;

        return $this;
    }
public function setExclusion($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Logging\V2\LogExclusion::class);
        $this->exclusion = $var;

        return $this;
    }
public function setExclusion ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Logging \ V2 \ LogExclusion :: class ) ; $ this -> exclusion = $ var ; return $ this ; }
Required. New values for the existing exclusion. Only the fields specified
in `update_mask` are relevant.

Generated from protobuf field <code>.google.logging.v2.LogExclusion exclusion = 2;</code>
@param \Google\Cloud\Logging\V2\LogExclusion $var
@return $this
Required . New values for the existing exclusion . Only the fields specified in update_mask are relevant .