Class: Google::Apis::FitnessV1::ListDataPointChangesResponse
- Inherits:
-
Object
- Object
- Google::Apis::FitnessV1::ListDataPointChangesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fitness_v1/classes.rb,
generated/google/apis/fitness_v1/representations.rb,
generated/google/apis/fitness_v1/representations.rb
Instance Attribute Summary collapse
-
#data_source_id ⇒ String
The data stream ID of the data source with data point changes.
-
#deleted_data_point ⇒ Array<Google::Apis::FitnessV1::DataPoint>
Deleted data points for the user.
-
#inserted_data_point ⇒ Array<Google::Apis::FitnessV1::DataPoint>
Inserted data points for the user.
-
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDataPointChangesResponse
constructor
A new instance of ListDataPointChangesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListDataPointChangesResponse
Returns a new instance of ListDataPointChangesResponse
745 746 747 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_id ⇒ String
The data stream ID of the data source with data point changes.
Corresponds to the JSON property dataSourceId
726 727 728 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 726 def data_source_id @data_source_id end |
#deleted_data_point ⇒ Array<Google::Apis::FitnessV1::DataPoint>
Deleted data points for the user. Note, for modifications this should be
parsed before handling insertions.
Corresponds to the JSON property deletedDataPoint
732 733 734 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 732 def deleted_data_point @deleted_data_point end |
#inserted_data_point ⇒ Array<Google::Apis::FitnessV1::DataPoint>
Inserted data points for the user.
Corresponds to the JSON property insertedDataPoint
737 738 739 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 737 def inserted_data_point @inserted_data_point end |
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
Provide this value in a subsequent request to return the next page of results.
Corresponds to the JSON property nextPageToken
743 744 745 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 743 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
750 751 752 753 754 755 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 750 def update!(**args) @data_source_id = args[:data_source_id] if args.key?(:data_source_id) @deleted_data_point = args[:deleted_data_point] if args.key?(:deleted_data_point) @inserted_data_point = args[:inserted_data_point] if args.key?(:inserted_data_point) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |