Class: Google::Apis::AdmobV1beta::MediationReportSpecSortCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MediationReportSpecSortCondition

Returns a new instance of MediationReportSpecSortCondition.



1438
1439
1440
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1438

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimensionString

Sort by the specified dimension. Corresponds to the JSON property dimension

Returns:

  • (String)


1426
1427
1428
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1426

def dimension
  @dimension
end

#metricString

Sort by the specified metric. Corresponds to the JSON property metric

Returns:

  • (String)


1431
1432
1433
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1431

def metric
  @metric
end

#orderString

Sorting order of the dimension or metric. Corresponds to the JSON property order

Returns:

  • (String)


1436
1437
1438
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1436

def order
  @order
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1443
1444
1445
1446
1447
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1443

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