Google Cloud Capacity Planner V1beta Client - Class Point (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class Point.

A single data point in a time series.

Generated from protobuf message google.cloud.capacityplanner.v1beta.Point

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ event_time Google\Protobuf\Timestamp

The time which the data point applies.

↳ value float

The value of the data point.

getEventTime

The time which the data point applies.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEventTime

clearEventTime

setEventTime

The time which the data point applies.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getValue

The value of the data point.

Returns
Type Description
float

setValue

The value of the data point.

Parameter
Name Description
var float
Returns
Type Description
$this