Google Analytics Admin V1alpha Client - Class AccessMetric (0.24.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha 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.v1alpha.AccessMetric

Namespace

Google \ Analytics \ Admin \ V1alpha

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