Google Analytics Data V1alpha Client - Class MetricValue (0.12.0)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class MetricValue.

The value of a metric.

Generated from protobuf message google.analytics.data.v1alpha.MetricValue

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value string

Measurement value. See MetricHeader for type.

getValue

Measurement value. See MetricHeader for type.

Returns
TypeDescription
string

hasValue

setValue

Measurement value. See MetricHeader for type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOneValue

Returns
TypeDescription
string