Stackdriver Monitoring V3 Client - Class QueryTimeSeriesResponse (1.8.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
NameDescription
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
TypeDescription
Google\Cloud\Monitoring\V3\TimeSeriesDescriptor|null

hasTimeSeriesDescriptor

clearTimeSeriesDescriptor

setTimeSeriesDescriptor

The descriptor for the time series data.

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\TimeSeriesDescriptor
Returns
TypeDescription
$this

getTimeSeriesData

The time series data.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTimeSeriesData

The time series data.

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

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