Class: Google::Apis::HealthV4::RunVo2MaxRollupValue

Inherits:
Object
  • Object
show all
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 daily heart rate variability personal range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunVo2MaxRollupValue

Returns a new instance of RunVo2MaxRollupValue.



4685
4686
4687
# File 'lib/google/apis/health_v4/classes.rb', line 4685

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rate_avgFloat

Average value of run VO2 max in the interval. Corresponds to the JSON property rateAvg

Returns:

  • (Float)


4673
4674
4675
# File 'lib/google/apis/health_v4/classes.rb', line 4673

def rate_avg
  @rate_avg
end

#rate_maxFloat

Maximum value of run VO2 max in the interval. Corresponds to the JSON property rateMax

Returns:

  • (Float)


4678
4679
4680
# File 'lib/google/apis/health_v4/classes.rb', line 4678

def rate_max
  @rate_max
end

#rate_minFloat

Minimum value of run VO2 max in the interval.. Corresponds to the JSON property rateMin

Returns:

  • (Float)


4683
4684
4685
# File 'lib/google/apis/health_v4/classes.rb', line 4683

def rate_min
  @rate_min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4690
4691
4692
4693
4694
# File 'lib/google/apis/health_v4/classes.rb', line 4690

def update!(**args)
  @rate_avg = args[:rate_avg] if args.key?(:rate_avg)
  @rate_max = args[:rate_max] if args.key?(:rate_max)
  @rate_min = args[:rate_min] if args.key?(:rate_min)
end