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.



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

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)


5323
5324
5325
# File 'lib/google/apis/health_v4/classes.rb', line 5323

def count_sum
  @count_sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5330
5331
5332
# File 'lib/google/apis/health_v4/classes.rb', line 5330

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