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.



7806
7807
7808
# File 'lib/google/apis/sheets_v4/classes.rb', line 7806

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



7804
7805
7806
# File 'lib/google/apis/sheets_v4/classes.rb', line 7804

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7811
7812
7813
# File 'lib/google/apis/sheets_v4/classes.rb', line 7811

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