Class: Google::Apis::FitnessV1::ListDataSourcesResponse

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) ⇒ ListDataSourcesResponse

Returns a new instance of ListDataSourcesResponse



768
769
770
# File 'generated/google/apis/fitness_v1/classes.rb', line 768

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

Instance Attribute Details

#data_sourceArray<Google::Apis::FitnessV1::DataSource>

A previously created data source. Corresponds to the JSON property dataSource



766
767
768
# File 'generated/google/apis/fitness_v1/classes.rb', line 766

def data_source
  @data_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



773
774
775
# File 'generated/google/apis/fitness_v1/classes.rb', line 773

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