Reference documentation and code samples for the Google Analytics Data V1alpha Client class MetricOrderBy.
Sorts by metric values.
Generated from protobuf message google.analytics.data.v1alpha.OrderBy.MetricOrderBy
Namespace
Google \ Analytics \ Data \ V1alpha \ OrderByMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metric_name |
string
A metric name in the request to order by. |
getMetricName
A metric name in the request to order by.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMetricName
A metric name in the request to order by.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|