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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/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.



7785
7786
7787
# File 'generated/google/apis/sheets_v4/classes.rb', line 7785

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



7783
7784
7785
# File 'generated/google/apis/sheets_v4/classes.rb', line 7783

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7790
7791
7792
# File 'generated/google/apis/sheets_v4/classes.rb', line 7790

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