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
744 745 746 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 744 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
725 726 727 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 725 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
731 732 733 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 731 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
736 737 738 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 736 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
742 743 744 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 742 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
749 750 751 752 753 754 |
# File 'generated/google/apis/fitness_v1/classes.rb', line 749 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 |