Class: Google::Apis::HealthV4::RestingHeartRatePersonalRangeRollupValue

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 rollup value for the daily resting heart rate data type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestingHeartRatePersonalRangeRollupValue

Returns a new instance of RestingHeartRatePersonalRangeRollupValue.



4389
4390
4391
# File 'lib/google/apis/health_v4/classes.rb', line 4389

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

Instance Attribute Details

#beats_per_minute_maxFloat

The upper bound of the user's daily resting heart rate personal range. Corresponds to the JSON property beatsPerMinuteMax

Returns:

  • (Float)


4382
4383
4384
# File 'lib/google/apis/health_v4/classes.rb', line 4382

def beats_per_minute_max
  @beats_per_minute_max
end

#beats_per_minute_minFloat

The lower bound of the user's daily resting heart rate personal range. Corresponds to the JSON property beatsPerMinuteMin

Returns:

  • (Float)


4387
4388
4389
# File 'lib/google/apis/health_v4/classes.rb', line 4387

def beats_per_minute_min
  @beats_per_minute_min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4394
4395
4396
4397
# File 'lib/google/apis/health_v4/classes.rb', line 4394

def update!(**args)
  @beats_per_minute_max = args[:beats_per_minute_max] if args.key?(:beats_per_minute_max)
  @beats_per_minute_min = args[:beats_per_minute_min] if args.key?(:beats_per_minute_min)
end