Class: Google::Apis::FitnessV1::ListDataSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::FitnessV1::ListDataSourcesResponse
- 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
-
#data_source ⇒ Array<Google::Apis::FitnessV1::DataSource>
A previously created data source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDataSourcesResponse
constructor
A new instance of ListDataSourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListDataSourcesResponse
Returns a new instance of ListDataSourcesResponse.
769 770 771 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 769 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source ⇒ Array<Google::Apis::FitnessV1::DataSource>
A previously created data source.
Corresponds to the JSON property dataSource
767 768 769 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 767 def data_source @data_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
774 775 776 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 774 def update!(**args) @data_source = args[:data_source] if args.key?(:data_source) end |