Monitoring/src/V3/AlertPolicy/Condition.php
public function setConditionThreshold($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\AlertPolicy_Condition_MetricThreshold::class);
        $this->writeOneof(1, $var);

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

        return $this;
    }
public function setConditionThreshold ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ AlertPolicy_Condition_MetricThreshold :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
A condition that compares a time series against a threshold.

Generated from protobuf field <code>.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;</code>
@param \Google\Cloud\Monitoring\V3\AlertPolicy\Condition\MetricThreshold $var
@return $this
A condition that compares a time series against a threshold .