Class: Google::Apis::SheetsV4::CancelDataSourceRefreshRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::CancelDataSourceRefreshRequest
- 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
Cancels one or multiple refreshes of data source objects in the spreadsheet by the specified references.
Instance Attribute Summary collapse
-
#data_source_id ⇒ String
Reference to a DataSource.
-
#is_all ⇒ Boolean
(also: #is_all?)
Cancels all existing data source object refreshes for all data sources in the spreadsheet.
-
#references ⇒ Google::Apis::SheetsV4::DataSourceObjectReferences
A list of references to data source objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CancelDataSourceRefreshRequest
constructor
A new instance of CancelDataSourceRefreshRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CancelDataSourceRefreshRequest
Returns a new instance of CancelDataSourceRefreshRequest.
2380 2381 2382 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_id ⇒ String
Reference to a DataSource. If specified, cancels all associated data source
object refreshes for this data source.
Corresponds to the JSON property dataSourceId
2366 2367 2368 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2366 def data_source_id @data_source_id end |
#is_all ⇒ Boolean Also known as: is_all?
Cancels all existing data source object refreshes for all data sources in the
spreadsheet.
Corresponds to the JSON property isAll
2372 2373 2374 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2372 def is_all @is_all end |
#references ⇒ Google::Apis::SheetsV4::DataSourceObjectReferences
A list of references to data source objects.
Corresponds to the JSON property references
2378 2379 2380 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2378 def references @references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2385 2386 2387 2388 2389 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2385 def update!(**args) @data_source_id = args[:data_source_id] if args.key?(:data_source_id) @is_all = args[:is_all] if args.key?(:is_all) @references = args[:references] if args.key?(:references) end |