Google Analytics Admin V1beta Client - Class AccessMetricHeader (0.24.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
Name Description
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
Type Description
string

setMetricName

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

Parameter
Name Description
var string
Returns
Type Description
$this