Stackdriver Monitoring V3 Client - Class ListTimeSeriesResponse (1.7.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTimeSeries

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

Parameter
NameDescription
var array<Google\Cloud\Monitoring\V3\TimeSeries>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getExecutionErrors

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExecutionErrors

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

Parameter
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this