Class: Google::Apis::HealthV4::DailyRollUpDataPointsResponse

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

Response containing the list of rolled up data points.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DailyRollUpDataPointsResponse

Returns a new instance of DailyRollUpDataPointsResponse.



1170
1171
1172
# File 'lib/google/apis/health_v4/classes.rb', line 1170

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

Instance Attribute Details

#rollup_data_pointsArray<Google::Apis::HealthV4::DailyRollupDataPoint>

Values for each aggregation time window. Corresponds to the JSON property rollupDataPoints



1168
1169
1170
# File 'lib/google/apis/health_v4/classes.rb', line 1168

def rollup_data_points
  @rollup_data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1175
1176
1177
# File 'lib/google/apis/health_v4/classes.rb', line 1175

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