Reference documentation and code samples for the Google Analytics Data V1alpha Client class OrderBy.
The sort options.
Generated from protobuf message google.analytics.data.v1alpha.OrderBy
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ metric
↳ dimension
↳ pivot
Google\Analytics\Data\V1alpha\OrderBy\PivotOrderBy
Sorts results by a metric's values within a pivot column group.
↳ desc
bool
If true, sorts by descending order.
getMetric
Sorts results by a metric's values.
hasMetric
setMetric
Sorts results by a metric's values.
$this
getDimension
Sorts results by a dimension's values.
hasDimension
setDimension
Sorts results by a dimension's values.
$this
getPivot
Sorts results by a metric's values within a pivot column group.
hasPivot
setPivot
Sorts results by a metric's values within a pivot column group.
$this
getDesc
If true, sorts by descending order.
bool
setDesc
If true, sorts by descending order.
var
bool
$this
getOneOrderBy
string