Reference documentation and code samples for the Stackdriver Monitoring V3 Client class PointData.
A point's value columns and time interval. Each point has one or more
point values corresponding to the entries in point_descriptors
field in
the TimeSeriesDescriptor associated with this object.
Generated from protobuf message google.monitoring.v3.TimeSeriesData.PointData
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ values |
array<Google\Cloud\Monitoring\V3\TypedValue>
The values that make up the point. |
↳ time_interval |
Google\Cloud\Monitoring\V3\TimeInterval
The time interval associated with the point. |
getValues
The values that make up the point.
Generated from protobuf field repeated .google.monitoring.v3.TypedValue values = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValues
The values that make up the point.
Generated from protobuf field repeated .google.monitoring.v3.TypedValue values = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Monitoring\V3\TypedValue>
|
Returns | |
---|---|
Type | Description |
$this |
getTimeInterval
The time interval associated with the point.
Generated from protobuf field .google.monitoring.v3.TimeInterval time_interval = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\Monitoring\V3\TimeInterval|null |
hasTimeInterval
clearTimeInterval
setTimeInterval
The time interval associated with the point.
Generated from protobuf field .google.monitoring.v3.TimeInterval time_interval = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Monitoring\V3\TimeInterval
|
Returns | |
---|---|
Type | Description |
$this |