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.



7958
7959
7960
# File 'lib/google/apis/sheets_v4/classes.rb', line 7958

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



7956
7957
7958
# File 'lib/google/apis/sheets_v4/classes.rb', line 7956

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7963
7964
7965
# File 'lib/google/apis/sheets_v4/classes.rb', line 7963

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