Class: Google::Apis::SheetsV4::RefreshDataSourceResponse

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 refreshing one or multiple data source objects.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RefreshDataSourceResponse

Returns a new instance of RefreshDataSourceResponse.



7784
7785
7786
# File 'lib/google/apis/sheets_v4/classes.rb', line 7784

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

Instance Attribute Details

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

All the refresh status for the data source object references specified in the request. If is_all is specified, the field contains only those in failure status. Corresponds to the JSON property statuses



7782
7783
7784
# File 'lib/google/apis/sheets_v4/classes.rb', line 7782

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7789
7790
7791
# File 'lib/google/apis/sheets_v4/classes.rb', line 7789

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