Google Analytics Admin V1beta Client - Class DimensionOrderBy (0.17.0)

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

Sorts by dimension values.

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

Namespace

Google \ Analytics \ Admin \ V1beta \ AccessOrderBy

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ dimension_namestring

A dimension name in the request to order by.

↳ order_typeint

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
varstring
Returns
TypeDescription
$this

getOrderType

Controls the rule for dimension value ordering.

Returns
TypeDescription
int

setOrderType

Controls the rule for dimension value ordering.

Parameter
NameDescription
varint
Returns
TypeDescription
$this