Google Analytics Admin V1beta Client - Class AccessMetric (0.11.1)

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

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