Class: Google::Apis::HealthV4::AltitudeRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::AltitudeRollupValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/health_v4/classes.rb,
lib/google/apis/health_v4/representations.rb,
lib/google/apis/health_v4/representations.rb
Overview
Represents the result of the rollup of the user's altitude.
Instance Attribute Summary collapse
-
#gain_millimeters_sum ⇒ Fixnum
Sum of the altitude gain in millimeters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AltitudeRollupValue
constructor
A new instance of AltitudeRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AltitudeRollupValue
Returns a new instance of AltitudeRollupValue.
290 291 292 |
# File 'lib/google/apis/health_v4/classes.rb', line 290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gain_millimeters_sum ⇒ Fixnum
Sum of the altitude gain in millimeters.
Corresponds to the JSON property gainMillimetersSum
288 289 290 |
# File 'lib/google/apis/health_v4/classes.rb', line 288 def gain_millimeters_sum @gain_millimeters_sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
295 296 297 |
# File 'lib/google/apis/health_v4/classes.rb', line 295 def update!(**args) @gain_millimeters_sum = args[:gain_millimeters_sum] if args.key?(:gain_millimeters_sum) end |