Class: Google::Apis::SheetsV4::DeleteDataSourceRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteDataSourceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
Deletes a data source. The request also deletes the associated data source sheet, and unlinks all associated data source objects.
Instance Attribute Summary collapse
-
#data_source_id ⇒ String
The ID of the data source to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteDataSourceRequest
constructor
A new instance of DeleteDataSourceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeleteDataSourceRequest
Returns a new instance of DeleteDataSourceRequest.
4458 4459 4460 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4458 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_id ⇒ String
The ID of the data source to delete.
Corresponds to the JSON property dataSourceId
4456 4457 4458 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4456 def data_source_id @data_source_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4463 4464 4465 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4463 def update!(**args) @data_source_id = args[:data_source_id] if args.key?(:data_source_id) end |