Reference documentation and code samples for the Google Analytics Data V1beta Client class OrderBy.
Order bys define how rows will be sorted in the response. For example, ordering rows by descending event count is one ordering, and ordering rows by the event name string is a different ordering.
Generated from protobuf message google.analytics.data.v1beta.OrderBy
Namespace
Google \ Analytics \ Data \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ metric
↳ dimension
↳ pivot
Google\Analytics\Data\V1beta\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