Class: Google::Apis::HealthV4::BloodGlucoseRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::BloodGlucoseRollupValue
- 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 blood glucose data type. LINT: LEGACY_NAMES
Instance Attribute Summary collapse
-
#blood_glucose_milligrams_per_deciliter_avg ⇒ Float
Average blood glucose level in mg/dL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BloodGlucoseRollupValue
constructor
A new instance of BloodGlucoseRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BloodGlucoseRollupValue
Returns a new instance of BloodGlucoseRollupValue.
572 573 574 |
# File 'lib/google/apis/health_v4/classes.rb', line 572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blood_glucose_milligrams_per_deciliter_avg ⇒ Float
Average blood glucose level in mg/dL.
Corresponds to the JSON property bloodGlucoseMilligramsPerDeciliterAvg
570 571 572 |
# File 'lib/google/apis/health_v4/classes.rb', line 570 def blood_glucose_milligrams_per_deciliter_avg @blood_glucose_milligrams_per_deciliter_avg end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
577 578 579 |
# File 'lib/google/apis/health_v4/classes.rb', line 577 def update!(**args) @blood_glucose_milligrams_per_deciliter_avg = args[:blood_glucose_milligrams_per_deciliter_avg] if args.key?(:blood_glucose_milligrams_per_deciliter_avg) end |