Stackdriver Monitoring V3 Client - Class TimeSeriesDescriptor (1.4.0)

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

A descriptor for the labels and points in a time series.

Generated from protobuf message google.monitoring.v3.TimeSeriesDescriptor

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ label_descriptors array<Google\Api\LabelDescriptor>

Descriptors for the labels.

↳ point_descriptors array<Google\Cloud\Monitoring\V3\TimeSeriesDescriptor\ValueDescriptor>

Descriptors for the point data value columns.

getLabelDescriptors

Descriptors for the labels.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabelDescriptors

Descriptors for the labels.

Parameter
NameDescription
var array<Google\Api\LabelDescriptor>
Returns
TypeDescription
$this

getPointDescriptors

Descriptors for the point data value columns.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPointDescriptors

Descriptors for the point data value columns.

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