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.



1173
1174
1175
# File 'lib/google/apis/health_v4/classes.rb', line 1173

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



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

def rollup_data_points
  @rollup_data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1178
1179
1180
# File 'lib/google/apis/health_v4/classes.rb', line 1178

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