Reference documentation and code samples for the Google Analytics Admin V1alpha Client class AccessMetric.
The quantitative measurements of a report. For example, the metricaccessCountis the total number of data access records.
Generated from protobuf messagegoogle.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. SeeData Access Schemafor the list of metrics supported in this API. Metrics are referenced by name inmetricFilter&orderBys.
getMetricName
The API name of the metric. SeeData Access
Schemafor the list of metrics supported in this API.
Metrics are referenced by name inmetricFilter&orderBys.
Returns
Type
Description
string
setMetricName
The API name of the metric. SeeData Access
Schemafor the list of metrics supported in this API.
Metrics are referenced by name inmetricFilter&orderBys.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]