Class: Google::Apis::AdmobV1::NetworkReportSpecSortCondition
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::NetworkReportSpecSortCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admob_v1/classes.rb,
generated/google/apis/admob_v1/representations.rb,
generated/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) ⇒ NetworkReportSpecSortCondition
constructor
A new instance of NetworkReportSpecSortCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkReportSpecSortCondition
Returns a new instance of NetworkReportSpecSortCondition.
703 704 705 |
# File 'generated/google/apis/admob_v1/classes.rb', line 703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Sort by the specified dimension.
Corresponds to the JSON property dimension
691 692 693 |
# File 'generated/google/apis/admob_v1/classes.rb', line 691 def dimension @dimension end |
#metric ⇒ String
Sort by the specified metric.
Corresponds to the JSON property metric
696 697 698 |
# File 'generated/google/apis/admob_v1/classes.rb', line 696 def metric @metric end |
#order ⇒ String
Sorting order of the dimension or metric.
Corresponds to the JSON property order
701 702 703 |
# File 'generated/google/apis/admob_v1/classes.rb', line 701 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
708 709 710 711 712 |
# File 'generated/google/apis/admob_v1/classes.rb', line 708 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 |