Google Analytics Data V1beta Client - Class NumericValue (0.9.5)

Reference documentation and code samples for the Google Analytics Data V1beta Client class NumericValue.

To represent a number.

Generated from protobuf message google.analytics.data.v1beta.NumericValue

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ int64_value int|string

Integer value

↳ double_value float

Double value

getInt64Value

Integer value

Returns
TypeDescription
int|string

hasInt64Value

setInt64Value

Integer value

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDoubleValue

Double value

Returns
TypeDescription
float

hasDoubleValue

setDoubleValue

Double value

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getOneValue

Returns
TypeDescription
string