Class: Google::Apis::AdmobV1::MediationReportSpecSortCondition
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::MediationReportSpecSortCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/google/apis/admob_v1/representations.rb
Overview
Sorting direction to be applied on a dimension or a metric.
Instance Attribute Summary collapse
-
#dimension ⇒ String
Sort by the specified dimension.
-
#metric ⇒ String
Sort by the specified metric.
-
#order ⇒ String
Sorting order of the dimension or metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MediationReportSpecSortCondition
constructor
A new instance of MediationReportSpecSortCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MediationReportSpecSortCondition
Returns a new instance of MediationReportSpecSortCondition.
656 657 658 |
# File 'lib/google/apis/admob_v1/classes.rb', line 656 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Sort by the specified dimension.
Corresponds to the JSON property dimension
644 645 646 |
# File 'lib/google/apis/admob_v1/classes.rb', line 644 def dimension @dimension end |
#metric ⇒ String
Sort by the specified metric.
Corresponds to the JSON property metric
649 650 651 |
# File 'lib/google/apis/admob_v1/classes.rb', line 649 def metric @metric end |
#order ⇒ String
Sorting order of the dimension or metric.
Corresponds to the JSON property order
654 655 656 |
# File 'lib/google/apis/admob_v1/classes.rb', line 654 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
661 662 663 664 665 |
# File 'lib/google/apis/admob_v1/classes.rb', line 661 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 |