Class: Google::Apis::HealthV4::StepsRollupValue

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 steps data type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StepsRollupValue

Returns a new instance of StepsRollupValue.



5328
5329
5330
# File 'lib/google/apis/health_v4/classes.rb', line 5328

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

Instance Attribute Details

#count_sumFixnum

Total number of steps in the interval. Corresponds to the JSON property countSum

Returns:

  • (Fixnum)


5326
5327
5328
# File 'lib/google/apis/health_v4/classes.rb', line 5326

def count_sum
  @count_sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5333
5334
5335
# File 'lib/google/apis/health_v4/classes.rb', line 5333

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