Stackdriver Monitoring V3 Client - Class QueryTimeSeriesResponse (1.11.0)

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

The QueryTimeSeries response.

Generated from protobuf message google.monitoring.v3.QueryTimeSeriesResponse

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ time_series_descriptor Google\Cloud\Monitoring\V3\TimeSeriesDescriptor

The descriptor for the time series data.

↳ time_series_data array<Google\Cloud\Monitoring\V3\TimeSeriesData>

The time series data.

↳ 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.

↳ partial_errors array<Google\Rpc\Status>

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

getTimeSeriesDescriptor

The descriptor for the time series data.

Returns
Type Description
Google\Cloud\Monitoring\V3\TimeSeriesDescriptor|null

hasTimeSeriesDescriptor

clearTimeSeriesDescriptor

setTimeSeriesDescriptor

The descriptor for the time series data.

Parameter
Name Description
var Google\Cloud\Monitoring\V3\TimeSeriesDescriptor
Returns
Type Description
$this

getTimeSeriesData

The time series data.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTimeSeriesData

The time series data.

Parameter
Name Description
var array<Google\Cloud\Monitoring\V3\TimeSeriesData>
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

getPartialErrors

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPartialErrors

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

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