Class: Google::Apis::FitnessV1::MapValue
- Inherits:
-
Object
- Object
- Google::Apis::FitnessV1::MapValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/fitness_v1/classes.rb,
lib/google/apis/fitness_v1/representations.rb,
lib/google/apis/fitness_v1/representations.rb
Overview
Holder object for the value of an entry in a map field of a data point. A map value supports a subset of the formats that the regular Value supports.
Instance Attribute Summary collapse
-
#fp_val ⇒ Float
Floating point value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MapValue
constructor
A new instance of MapValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MapValue
Returns a new instance of MapValue.
830 831 832 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fp_val ⇒ Float
Floating point value.
Corresponds to the JSON property fpVal
828 829 830 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 828 def fp_val @fp_val end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
835 836 837 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 835 def update!(**args) @fp_val = args[:fp_val] if args.key?(:fp_val) end |