Google Analytics Admin V1beta Client - Class AccessMetricHeader (0.16.0)

Reference documentation and code samples for the Google Analytics Admin V1beta 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.v1beta.AccessMetricHeader

Namespace

Google \ Analytics \ Admin \ V1beta

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