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.
4552 4553 4554 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4552 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
4550 4551 4552 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4550 def data_source_id @data_source_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4557 4558 4559 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4557 def update!(**args) @data_source_id = args[:data_source_id] if args.key?(:data_source_id) end |