Class: Google::Apis::FitnessV1::ListDataPointChangesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/fitness_v1/classes.rb,
lib/google/apis/fitness_v1/representations.rb,
lib/google/apis/fitness_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDataPointChangesResponse

Returns a new instance of ListDataPointChangesResponse.



747
748
749
# File 'lib/google/apis/fitness_v1/classes.rb', line 747

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

Instance Attribute Details

#data_source_idString

The data stream ID of the data source with data point changes. Corresponds to the JSON property dataSourceId

Returns:

  • (String)


728
729
730
# File 'lib/google/apis/fitness_v1/classes.rb', line 728

def data_source_id
  @data_source_id
end

#deleted_data_pointArray<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



734
735
736
# File 'lib/google/apis/fitness_v1/classes.rb', line 734

def deleted_data_point
  @deleted_data_point
end

#inserted_data_pointArray<Google::Apis::FitnessV1::DataPoint>

Inserted data points for the user. Corresponds to the JSON property insertedDataPoint



739
740
741
# File 'lib/google/apis/fitness_v1/classes.rb', line 739

def inserted_data_point
  @inserted_data_point
end

#next_page_tokenString

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

Returns:

  • (String)


745
746
747
# File 'lib/google/apis/fitness_v1/classes.rb', line 745

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



752
753
754
755
756
757
# File 'lib/google/apis/fitness_v1/classes.rb', line 752

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