Google Analytics Data V1alpha Client - Class DimensionOrderBy (0.9.5)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class DimensionOrderBy.

Sorts by dimension values.

Generated from protobuf message google.analytics.data.v1alpha.OrderBy.DimensionOrderBy

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setDimensionName

A dimension name in the request to order by.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderType

Controls the rule for dimension value ordering.

Returns
TypeDescription
int

setOrderType

Controls the rule for dimension value ordering.

Parameter
NameDescription
var int
Returns
TypeDescription
$this