Google Analytics Data V1beta Client - Class MetricValue (0.20.1)

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

The value of a metric.

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

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

hasValue

setValue

Measurement value. See MetricHeader for type.

Parameter
Name Description
var string
Returns
Type Description
$this

getOneValue

Returns
Type Description
string