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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_idString

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

Returns:

  • (String)


725
726
727
# File 'generated/google/apis/fitness_v1/classes.rb', line 725

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



731
732
733
# File 'generated/google/apis/fitness_v1/classes.rb', line 731

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



736
737
738
# File 'generated/google/apis/fitness_v1/classes.rb', line 736

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)


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