Reference documentation and code samples for the Google Analytics Data V1beta Client class DimensionOrderBy.
Sorts by dimension values.
Generated from protobuf message google.analytics.data.v1beta.OrderBy.DimensionOrderBy
Namespace
Google \ Analytics \ Data \ V1beta \ OrderByMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dimension_name |
string
A dimension name in the request to order by. |
↳ order_type |
int
Controls the rule for dimension value ordering. |
getDimensionName
A dimension name in the request to order by.
Returns | |
---|---|
Type | Description |
string |
setDimensionName
A dimension name in the request to order by.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOrderType
Controls the rule for dimension value ordering.
Returns | |
---|---|
Type | Description |
int |
setOrderType
Controls the rule for dimension value ordering.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |