Logging/src/V2/ListExclusionsResponse.php
public function setExclusions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Logging\V2\LogExclusion::class);
        $this->exclusions = $arr;

        return $this;
    }
public function setExclusions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Logging\V2\LogExclusion::class);
        $this->exclusions = $arr;

        return $this;
    }
public function setExclusions ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Logging \ V2 \ LogExclusion :: class ) ; $ this -> exclusions = $ arr ; return $ this ; }
A list of exclusions.

Generated from protobuf field <code>repeated .google.logging.v2.LogExclusion exclusions = 1;</code>
@param \Google\Cloud\Logging\V2\LogExclusion[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
A list of exclusions .