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 |
↳ 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 | |
---|---|
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<Google\Cloud\Monitoring\V3\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<Google\Cloud\Monitoring\V3\TimeSeriesData\PointData>
|
Returns | |
---|---|
Type | Description |
$this |