Class: Google::Apis::SheetsV4::UpdateDataSourceResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::UpdateDataSourceResponse
- 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 response from updating data source.
Instance Attribute Summary collapse
-
#data_execution_status ⇒ Google::Apis::SheetsV4::DataExecutionStatus
The data execution status.
-
#data_source ⇒ Google::Apis::SheetsV4::DataSource
Information about an external data source in the spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDataSourceResponse
constructor
A new instance of UpdateDataSourceResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDataSourceResponse
Returns a new instance of UpdateDataSourceResponse.
10484 10485 10486 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_execution_status ⇒ Google::Apis::SheetsV4::DataExecutionStatus
The data execution status. A data execution is created to sync a data source
object with the latest data from a DataSource. It is usually scheduled to run
at background, you can check its state to tell if an execution completes There
are several scenarios where a data execution is triggered to run: * Adding a
data source creates an associated data source sheet as well as a data
execution to sync the data from the data source to the sheet. * Updating a
data source creates a data execution to refresh the associated data source
sheet similarly. * You can send refresh request to explicitly refresh one or
multiple data source objects.
Corresponds to the JSON property dataExecutionStatus
10477 10478 10479 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10477 def data_execution_status @data_execution_status end |
#data_source ⇒ Google::Apis::SheetsV4::DataSource
Information about an external data source in the spreadsheet.
Corresponds to the JSON property dataSource
10482 10483 10484 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10482 def data_source @data_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10489 10490 10491 10492 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10489 def update!(**args) @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) @data_source = args[:data_source] if args.key?(:data_source) end |