class Google::Apis::AnalyticsdataV1alpha::DimensionOrderBy

Sorts by dimension values.

Attributes

dimension_name[RW]

A dimension name in the request to order by. Corresponds to the JSON property `dimensionName` @return [String]

order_type[RW]

Controls the rule for dimension value ordering. Corresponds to the JSON property `orderType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 553
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 558
def update!(**args)
  @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
  @order_type = args[:order_type] if args.key?(:order_type)
end