Stackdriver Monitoring V3 Client - Class TimeSeriesData (1.11.1)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ label_values array<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<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
Type Description
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
Name Description
var array<LabelValue>
Returns
Type Description
$this

getPointData

The points in the time series.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPointData

The points in the time series.

Parameter
Name Description
var array<TimeSeriesData\PointData>
Returns
Type Description
$this