Class: Google::Apis::HealthV4::BodyFatRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::BodyFatRollupValue
- 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 body fat data type.
Instance Attribute Summary collapse
-
#body_fat_percentage_avg ⇒ Float
Average body fat percentage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BodyFatRollupValue
constructor
A new instance of BodyFatRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BodyFatRollupValue
Returns a new instance of BodyFatRollupValue.
397 398 399 |
# File 'lib/google/apis/health_v4/classes.rb', line 397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body_fat_percentage_avg ⇒ Float
Average body fat percentage.
Corresponds to the JSON property bodyFatPercentageAvg
395 396 397 |
# File 'lib/google/apis/health_v4/classes.rb', line 395 def body_fat_percentage_avg @body_fat_percentage_avg end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
402 403 404 |
# File 'lib/google/apis/health_v4/classes.rb', line 402 def update!(**args) @body_fat_percentage_avg = args[:body_fat_percentage_avg] if args.key?(:body_fat_percentage_avg) end |