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.



2465
2466
2467
# File 'lib/google/apis/sheets_v4/classes.rb', line 2465

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



2463
2464
2465
# File 'lib/google/apis/sheets_v4/classes.rb', line 2463

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2470
2471
2472
# File 'lib/google/apis/sheets_v4/classes.rb', line 2470

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