Stackdriver Monitoring V3 Client - Class TimeSeriesDescriptor (1.2.2)

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.

Generated from protobuf field repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabelDescriptors

Descriptors for the labels.

Generated from protobuf field repeated .google.api.LabelDescriptor label_descriptors = 1;

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

getPointDescriptors

Descriptors for the point data value columns.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPointDescriptors

Descriptors for the point data value columns.

Generated from protobuf field repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

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