Class: Google::Apis::AnalyticsdataV1beta::NumericValue
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::NumericValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb
Overview
To represent a number.
Instance Attribute Summary collapse
-
#double_value ⇒ Float
Double value Corresponds to the JSON property
doubleValue. -
#int64_value ⇒ Fixnum
Integer value Corresponds to the JSON property
int64Value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NumericValue
constructor
A new instance of NumericValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NumericValue
Returns a new instance of NumericValue.
1132 1133 1134 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
Double value
Corresponds to the JSON property doubleValue
1125 1126 1127 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1125 def double_value @double_value end |
#int64_value ⇒ Fixnum
Integer value
Corresponds to the JSON property int64Value
1130 1131 1132 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1130 def int64_value @int64_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1137 1138 1139 1140 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1137 def update!(**args) @double_value = args[:double_value] if args.key?(:double_value) @int64_value = args[:int64_value] if args.key?(:int64_value) end |