Class: Google::Apis::SheetsV4::DeleteDataSourceRequest

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

Instance Method Summary collapse

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_idString

The ID of the data source to delete. Corresponds to the JSON property dataSourceId

Returns:

  • (String)


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