Class: Google::Apis::AnalyticsdataV1alpha::NumericValue
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::NumericValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/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.
965 966 967 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 965 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
Double value
Corresponds to the JSON property doubleValue
958 959 960 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 958 def double_value @double_value end |
#int64_value ⇒ Fixnum
Integer value
Corresponds to the JSON property int64Value
963 964 965 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 963 def int64_value @int64_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
970 971 972 973 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 970 def update!(**args) @double_value = args[:double_value] if args.key?(:double_value) @int64_value = args[:int64_value] if args.key?(:int64_value) end |