Class: Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse

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 reply for batch updating a spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchUpdateSpreadsheetResponse

Returns a new instance of BatchUpdateSpreadsheetResponse.



1626
1627
1628
# File 'generated/google/apis/sheets_v4/classes.rb', line 1626

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

Instance Attribute Details

#repliesArray<Google::Apis::SheetsV4::Response>

The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty. Corresponds to the JSON property replies



1614
1615
1616
# File 'generated/google/apis/sheets_v4/classes.rb', line 1614

def replies
  @replies
end

#spreadsheet_idString

The spreadsheet the updates were applied to. Corresponds to the JSON property spreadsheetId

Returns:

  • (String)


1619
1620
1621
# File 'generated/google/apis/sheets_v4/classes.rb', line 1619

def spreadsheet_id
  @spreadsheet_id
end

#updated_spreadsheetGoogle::Apis::SheetsV4::Spreadsheet

Resource that represents a spreadsheet. Corresponds to the JSON property updatedSpreadsheet



1624
1625
1626
# File 'generated/google/apis/sheets_v4/classes.rb', line 1624

def updated_spreadsheet
  @updated_spreadsheet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1631
1632
1633
1634
1635
# File 'generated/google/apis/sheets_v4/classes.rb', line 1631

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