Reference documentation and code samples for the Google Analytics Data V1beta Client class PivotOrderBy.
Sorts by a pivot column group.
Generated from protobuf message google.analytics.data.v1beta.OrderBy.PivotOrderBy
Namespace
Google \ Analytics \ Data \ V1beta \ OrderByMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ metric_name
string
In the response to order by, order rows by this column. Must be a metric name from the request.
↳ pivot_selections
array< Google\Analytics\Data\V1beta\OrderBy\PivotOrderBy\PivotSelection
>
Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.
getMetricName
In the response to order by, order rows by this column. Must be a metric name from the request.
string
setMetricName
In the response to order by, order rows by this column. Must be a metric name from the request.
var
string
$this
getPivotSelections
Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.
setPivotSelections
Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.
$this