Stackdriver Monitoring V3 Client - Class PointData (1.2.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.

Generated from protobuf field repeated .google.monitoring.v3.TypedValue values = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

The values that make up the point.

Generated from protobuf field repeated .google.monitoring.v3.TypedValue values = 1;

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

getTimeInterval

The time interval associated with the point.

Generated from protobuf field .google.monitoring.v3.TimeInterval time_interval = 2;

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Monitoring\V3\TimeInterval
Returns
TypeDescription
$this