Monitoring/src/V3/Aggregation.php
public function setCrossSeriesReducer($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\Aggregation_Reducer::class);
        $this->cross_series_reducer = $var;

        return $this;
    }
public function setCrossSeriesReducer($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\Aggregation_Reducer::class);
        $this->cross_series_reducer = $var;

        return $this;
    }
public function setCrossSeriesReducer ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ Aggregation_Reducer :: class ) ; $ this -> cross_series_reducer = $ var ; return $ this ; }
The approach to be used to combine time series. Not all reducer
functions may be applied to all time series, depending on the
metric type and the value type of the original time
series. Reduction may change the metric type of value type of the
time series.
Time series data must be aligned in order to perform cross-time
series reduction. If `crossSeriesReducer` is specified, then
`perSeriesAligner` must be specified and not equal `ALIGN_NONE`
and `alignmentPeriod` must be specified; otherwise, an error is
returned.

Generated from protobuf field <code>.google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4;</code>
@param int $var
@return $this
The approach to be used to combine time series . Not all reducer functions may be applied to all time series depending on the metric type and the value type of the original time series . Reduction may change the metric type of value type of the time series . Time series data must be aligned in order to perform cross - time series reduction . If crossSeriesReducer is specified then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified ; otherwise an error is returned .