Stackdriver Monitoring V3 Client - Class ListTimeSeriesResponse (1.2.2)

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

The ListTimeSeries response.

Generated from protobuf message google.monitoring.v3.ListTimeSeriesResponse

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.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeries time_series = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTimeSeries

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

Generated from protobuf field repeated .google.monitoring.v3.TimeSeries time_series = 1;

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.

Generated from protobuf field string next_page_token = 2;

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.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExecutionErrors

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

Generated from protobuf field repeated .google.rpc.Status execution_errors = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExecutionErrors

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

Generated from protobuf field repeated .google.rpc.Status execution_errors = 3;

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}".

Generated from protobuf field string unit = 5;

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}".

Generated from protobuf field string unit = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this