Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::OrderBy.
The sort options.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#desc
def desc() -> ::Boolean
Returns
- (::Boolean) — If true, sorts by descending order.
#desc=
def desc=(value) -> ::Boolean
Parameter
- value (::Boolean) — If true, sorts by descending order.
Returns
- (::Boolean) — If true, sorts by descending order.
#dimension
def dimension() -> ::Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy
Returns
- (::Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy) — Sorts results by a dimension's values.
#dimension=
def dimension=(value) -> ::Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy
Parameter
- value (::Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy) — Sorts results by a dimension's values.
Returns
- (::Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy) — Sorts results by a dimension's values.
#metric
def metric() -> ::Google::Analytics::Data::V1alpha::OrderBy::MetricOrderBy
Returns
- (::Google::Analytics::Data::V1alpha::OrderBy::MetricOrderBy) — Sorts results by a metric's values.
#metric=
def metric=(value) -> ::Google::Analytics::Data::V1alpha::OrderBy::MetricOrderBy
Parameter
- value (::Google::Analytics::Data::V1alpha::OrderBy::MetricOrderBy) — Sorts results by a metric's values.
Returns
- (::Google::Analytics::Data::V1alpha::OrderBy::MetricOrderBy) — Sorts results by a metric's values.
#pivot
def pivot() -> ::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy
Returns
- (::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy) — Sorts results by a metric's values within a pivot column group.
#pivot=
def pivot=(value) -> ::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy
Parameter
- value (::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy) — Sorts results by a metric's values within a pivot column group.
Returns
- (::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy) — Sorts results by a metric's values within a pivot column group.