Class: Google::Apis::AdmobV1beta::ReportRowMetricValue
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ReportRowMetricValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admob_v1beta/classes.rb,
generated/google/apis/admob_v1beta/representations.rb,
generated/google/apis/admob_v1beta/representations.rb
Overview
Representation of a metric value.
Instance Attribute Summary collapse
-
#double_value ⇒ Float
Double precision (approximate) decimal values.
-
#integer_value ⇒ Fixnum
Metric integer value.
-
#micros_value ⇒ Fixnum
Amount in micros.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportRowMetricValue
constructor
A new instance of ReportRowMetricValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportRowMetricValue
Returns a new instance of ReportRowMetricValue.
978 979 980 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 978 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
Double precision (approximate) decimal values. Rates are from 0 to 1.
Corresponds to the JSON property doubleValue
964 965 966 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 964 def double_value @double_value end |
#integer_value ⇒ Fixnum
Metric integer value.
Corresponds to the JSON property integerValue
969 970 971 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 969 def integer_value @integer_value end |
#micros_value ⇒ Fixnum
Amount in micros. One million is equivalent to one unit. Currency value is in
the unit (USD, EUR or other) specified by the request. For example, $6.50
whould be represented as 6500000 micros.
Corresponds to the JSON property microsValue
976 977 978 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 976 def micros_value @micros_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
983 984 985 986 987 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 983 def update!(**args) @double_value = args[:double_value] if args.key?(:double_value) @integer_value = args[:integer_value] if args.key?(:integer_value) @micros_value = args[:micros_value] if args.key?(:micros_value) end |