Class: Google::Apis::AdmobV1beta::MediationReportSpecSortCondition
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::MediationReportSpecSortCondition
- 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
-
#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.
1437 1438 1439 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Sort by the specified dimension.
Corresponds to the JSON property dimension
1425 1426 1427 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1425 def dimension @dimension end |
#metric ⇒ String
Sort by the specified metric.
Corresponds to the JSON property metric
1430 1431 1432 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1430 def metric @metric end |
#order ⇒ String
Sorting order of the dimension or metric.
Corresponds to the JSON property order
1435 1436 1437 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1435 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1442 1443 1444 1445 1446 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1442 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 |