Stackdriver Monitoring V3 Client - Class PointData (1.10.1)

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

Namespace

Google \ Cloud \ Monitoring \ V3 \ TimeSeriesData

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValues

The values that make up the point.

Parameter
Name Description
var array<Google\Cloud\Monitoring\V3\TypedValue>
Returns
Type Description
$this

getTimeInterval

The time interval associated with the point.

Returns
Type Description
Google\Cloud\Monitoring\V3\TimeInterval|null

hasTimeInterval

clearTimeInterval

setTimeInterval

The time interval associated with the point.

Parameter
Name Description
var Google\Cloud\Monitoring\V3\TimeInterval
Returns
Type Description
$this