Google Analytics Admin V1beta Client - Class AccessMetric (0.22.5)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class AccessMetric.

The quantitative measurements of a report. For example, the metric accessCount is the total number of data access records.

Generated from protobuf message google.analytics.admin.v1beta.AccessMetric

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_name string

The API name of the metric. See Data Access Schema for the list of metrics supported in this API. Metrics are referenced by name in metricFilter & orderBys.

getMetricName

The API name of the metric. See Data Access Schema for the list of metrics supported in this API.

Metrics are referenced by name in metricFilter & orderBys.

Returns
Type Description
string

setMetricName

The API name of the metric. See Data Access Schema for the list of metrics supported in this API.

Metrics are referenced by name in metricFilter & orderBys.

Parameter
Name Description
var string
Returns
Type Description
$this