Google Cloud Chronicle Client - Class Measure (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class Measure.

Describes the precomputed measure.

Generated from protobuf message google.backstory.Metric.Measure

Namespace

Google \ Backstory \ Metric

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value float

Value of the aggregated measure.

↳ aggregate_function int

Function used to calculate the aggregated measure.

getValue

Value of the aggregated measure.

Returns
Type Description
float

setValue

Value of the aggregated measure.

Parameter
Name Description
var float
Returns
Type Description
$this

getAggregateFunction

Function used to calculate the aggregated measure.

Returns
Type Description
int Enum of type AggregateFunction.

setAggregateFunction

Function used to calculate the aggregated measure.

Parameter
Name Description
var int

Enum of type AggregateFunction.

Returns
Type Description
$this