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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/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.



4456
4457
4458
# File 'generated/google/apis/sheets_v4/classes.rb', line 4456

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)


4454
4455
4456
# File 'generated/google/apis/sheets_v4/classes.rb', line 4454

def data_source_id
  @data_source_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4461
4462
4463
# File 'generated/google/apis/sheets_v4/classes.rb', line 4461

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