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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLabelDescriptors
Descriptors for the labels.
Generated from protobuf field repeated .google.api.LabelDescriptor label_descriptors = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Api\LabelDescriptor>
|
Returns | |
---|---|
Type | Description |
$this |
getPointDescriptors
Descriptors for the point data value columns.
Generated from protobuf field repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Cloud\Monitoring\V3\TimeSeriesDescriptor\ValueDescriptor>
|
Returns | |
---|---|
Type | Description |
$this |