Class: Google::Apis::SheetsV4::CancelDataSourceRefreshStatus
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::CancelDataSourceRefreshStatus
- 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
The status of cancelling a single data source object refresh.
Instance Attribute Summary collapse
-
#reference ⇒ Google::Apis::SheetsV4::DataSourceObjectReference
Reference to a data source object.
-
#refresh_cancellation_status ⇒ Google::Apis::SheetsV4::RefreshCancellationStatus
The status of a refresh cancellation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CancelDataSourceRefreshStatus
constructor
A new instance of CancelDataSourceRefreshStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CancelDataSourceRefreshStatus
Returns a new instance of CancelDataSourceRefreshStatus.
2490 2491 2492 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2490 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference ⇒ Google::Apis::SheetsV4::DataSourceObjectReference
Reference to a data source object.
Corresponds to the JSON property reference
2482 2483 2484 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2482 def reference @reference end |
#refresh_cancellation_status ⇒ Google::Apis::SheetsV4::RefreshCancellationStatus
The status of a refresh cancellation. You can send a cancel request to
explicitly cancel one or multiple data source object refreshes.
Corresponds to the JSON property refreshCancellationStatus
2488 2489 2490 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2488 def refresh_cancellation_status @refresh_cancellation_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2495 2496 2497 2498 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2495 def update!(**args) @reference = args[:reference] if args.key?(:reference) @refresh_cancellation_status = args[:refresh_cancellation_status] if args.key?(:refresh_cancellation_status) end |