Google Analytics Admin V1alpha Client - Class AccessMetric (0.9.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this