Class: Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse
- 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
-
#replies ⇒ Array<Google::Apis::SheetsV4::Response>
The reply of the updates.
-
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
-
#updated_spreadsheet ⇒ Google::Apis::SheetsV4::Spreadsheet
Resource that represents a spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateSpreadsheetResponse
constructor
A new instance of BatchUpdateSpreadsheetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchUpdateSpreadsheetResponse
Returns a new instance of BatchUpdateSpreadsheetResponse
1461 1462 1463 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#replies ⇒ Array<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
1449 1450 1451 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1449 def replies @replies end |
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
Corresponds to the JSON property spreadsheetId
1459 1460 1461 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1459 def spreadsheet_id @spreadsheet_id end |
#updated_spreadsheet ⇒ Google::Apis::SheetsV4::Spreadsheet
Resource that represents a spreadsheet.
Corresponds to the JSON property updatedSpreadsheet
1454 1455 1456 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1454 def updated_spreadsheet @updated_spreadsheet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1466 1467 1468 1469 1470 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1466 def update!(**args) @replies = args[:replies] if args.key?(:replies) @updated_spreadsheet = args[:updated_spreadsheet] if args.key?(:updated_spreadsheet) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) end |