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 | arrayOptional. Data for populating the Message object. | 
| ↳ dimension_name | stringA dimension name in the request to order by. | 
| ↳ order_type | intControls 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 | Enum of type OrderType. | 
setOrderType
Controls the rule for dimension value ordering.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type OrderType. | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |