Monitoring/src/V3/ListTimeSeriesRequest.php
public function setAggregation($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\Aggregation::class);
        $this->aggregation = $var;

        return $this;
    }
public function setAggregation($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\Aggregation::class);
        $this->aggregation = $var;

        return $this;
    }
public function setAggregation ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ Aggregation :: class ) ; $ this -> aggregation = $ var ; return $ this ; }
By default, the raw time series data is returned.
Use this field to combine multiple time series for different
views of the data.

Generated from protobuf field <code>.google.monitoring.v3.Aggregation aggregation = 5;</code>
@param \Google\Cloud\Monitoring\V3\Aggregation $var
@return $this
By default the raw time series data is returned . Use this field to combine multiple time series for different views of the data .