Google Analytics Admin V1alpha Client - Class MetricOrderBy (0.20.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class MetricOrderBy.

Sorts by metric values.

Generated from protobuf message google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy

Namespace

Google \ Analytics \ Admin \ V1alpha \ AccessOrderBy

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setMetricName

A metric name in the request to order by.

Parameter
NameDescription
var string
Returns
TypeDescription
$this