Google Analytics Admin V1alpha Client - Class AccessMetricHeader (0.19.0)

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

Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.

Generated from protobuf message google.analytics.admin.v1alpha.AccessMetricHeader

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ metric_name string

The metric's name; for example 'accessCount'.

getMetricName

The metric's name; for example 'accessCount'.

Returns
TypeDescription
string

setMetricName

The metric's name; for example 'accessCount'.

Parameter
NameDescription
var string
Returns
TypeDescription
$this