Monitoring/src/V3/AlertPolicy.php
public function setConditions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Monitoring\V3\AlertPolicy\Condition::class);
        $this->conditions = $arr;

        return $this;
    }
public function setConditions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Monitoring\V3\AlertPolicy\Condition::class);
        $this->conditions = $arr;

        return $this;
    }
public function setConditions ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Monitoring \ V3 \ AlertPolicy \ Condition :: class ) ; $ this -> conditions = $ arr ; return $ this ; }
A list of conditions for the policy. The conditions are combined by AND or
OR according to the `combiner` field. If the combined conditions evaluate
to true, then an incident is created. A policy can have from one to six
conditions.

Generated from protobuf field <code>repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;</code>
@param \Google\Cloud\Monitoring\V3\AlertPolicy\Condition[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
A list of conditions for the policy . The conditions are combined by AND or OR according to the combiner field . If the combined conditions evaluate to true then an incident is created . A policy can have from one to six conditions .