Stackdriver Monitoring V3 Client - Class PointData (1.3.2)

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
NameDescription
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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

The values that make up the point.

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

getTimeInterval

The time interval associated with the point.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\TimeInterval|null

hasTimeInterval

clearTimeInterval

setTimeInterval

The time interval associated with the point.

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\TimeInterval
Returns
TypeDescription
$this