Stackdriver Monitoring V3 Client - Class ListTimeSeriesResponse (1.10.3)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListTimeSeriesResponse.

The ListTimeSeries response.

Generated from protobuf message google.monitoring.v3.ListTimeSeriesResponse

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ time_series array<Google\Cloud\Monitoring\V3\TimeSeries>

One or more time series that match the filter included in the request.

↳ next_page_token string

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

↳ execution_errors array<Google\Rpc\Status>

Query execution errors that may have caused the time series data returned to be incomplete.

↳ unit string

The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be "{not_a_unit}".

getTimeSeries

One or more time series that match the filter included in the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTimeSeries

One or more time series that match the filter included in the request.

Parameter
Name Description
var array<Google\Cloud\Monitoring\V3\TimeSeries>
Returns
Type Description
$this

getNextPageToken

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

Returns
Type Description
string

setNextPageToken

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

Parameter
Name Description
var string
Returns
Type Description
$this

getExecutionErrors

Query execution errors that may have caused the time series data returned to be incomplete.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExecutionErrors

Query execution errors that may have caused the time series data returned to be incomplete.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this

getUnit

The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html.

If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be "{not_a_unit}".

Returns
Type Description
string

setUnit

The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html.

If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be "{not_a_unit}".

Parameter
Name Description
var string
Returns
Type Description
$this