Google Analytics Admin V1alpha Client - Class DimensionOrderBy (0.20.0)

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

Sorts by dimension values.

Generated from protobuf message google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy

Namespace

Google \ Analytics \ Admin \ V1alpha \ AccessOrderBy

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