Class: Google::Apis::SheetsV4::CancelDataSourceRefreshResponse

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

The response from cancelling one or multiple data source object refreshes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CancelDataSourceRefreshResponse

Returns a new instance of CancelDataSourceRefreshResponse.



2406
2407
2408
# File 'lib/google/apis/sheets_v4/classes.rb', line 2406

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#statusesArray<Google::Apis::SheetsV4::CancelDataSourceRefreshStatus>

The cancellation statuses of refreshes of all data source objects specified in the request. If is_all is specified, the field contains only those in failure status. Refreshing and canceling refresh the same data source object is also not allowed in the same batchUpdate. Corresponds to the JSON property statuses



2404
2405
2406
# File 'lib/google/apis/sheets_v4/classes.rb', line 2404

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2411
2412
2413
# File 'lib/google/apis/sheets_v4/classes.rb', line 2411

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