Stackdriver Monitoring V3 Client - Class TimeSeriesData (1.2.2)

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

Methods

__construct

Constructor.

Parameters
Name
Description
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 .

Generated from protobuf field repeated .google.monitoring.v3.LabelValue label_values = 1;

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 .

Generated from protobuf field repeated .google.monitoring.v3.LabelValue label_values = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getPointData

The points in the time series.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setPointData

The points in the time series.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: