class Google::Apis::AdmobV1::MediationReportSpecSortCondition

Sorting direction to be applied on a dimension or a metric.

Attributes

dimension[RW]

Sort by the specified dimension. Corresponds to the JSON property `dimension` @return [String]

metric[RW]

Sort by the specified metric. Corresponds to the JSON property `metric` @return [String]

order[RW]

Sorting order of the dimension or metric. Corresponds to the JSON property `order` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admob_v1/classes.rb, line 653
def update!(**args)
  @dimension = args[:dimension] if args.key?(:dimension)
  @metric = args[:metric] if args.key?(:metric)
  @order = args[:order] if args.key?(:order)
end