Google Analytics Admin V1alpha Client - Class NumericValue (0.24.2)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class NumericValue.

To represent a number.

Generated from protobuf message google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue

Namespace

Google \ Analytics \ Admin \ V1alpha \ AudienceDimensionOrMetricFilter

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ int64_value int|string

Integer value.

↳ double_value float

Double value.

getInt64Value

Integer value.

Returns
Type Description
int|string

hasInt64Value

setInt64Value

Integer value.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDoubleValue

Double value.

Returns
Type Description
float

hasDoubleValue

setDoubleValue

Double value.

Parameter
Name Description
var float
Returns
Type Description
$this

getOneValue

Returns
Type Description
string