Stackdriver Monitoring V3 Client - Class TimeSeriesData (1.6.0)

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

Represents the values of a time series associated with a TimeSeriesDescriptor.

Generated from protobuf message google.monitoring.v3.TimeSeriesData

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ label_values array<Google\Cloud\Monitoring\V3\LabelValue>

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

↳ point_data array<Google\Cloud\Monitoring\V3\TimeSeriesData\PointData>

The points in the time series.

getLabelValues

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabelValues

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

Parameter
NameDescription
var array<Google\Cloud\Monitoring\V3\LabelValue>
Returns
TypeDescription
$this

getPointData

The points in the time series.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPointData

The points in the time series.

Parameter
NameDescription
var array<Google\Cloud\Monitoring\V3\TimeSeriesData\PointData>
Returns
TypeDescription
$this