Class: Google::Apis::SheetsV4::BatchUpdateValuesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BatchUpdateValuesResponse
- 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 when updating a range of values in a spreadsheet.
Instance Attribute Summary collapse
-
#responses ⇒ Array<Google::Apis::SheetsV4::UpdateValuesResponse>
One UpdateValuesResponse per requested range, in the same order as the requests appeared.
-
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
-
#total_updated_cells ⇒ Fixnum
The total number of cells updated.
-
#total_updated_columns ⇒ Fixnum
The total number of columns where at least one cell in the column was updated.
-
#total_updated_rows ⇒ Fixnum
The total number of rows where at least one cell in the row was updated.
-
#total_updated_sheets ⇒ Fixnum
The total number of sheets where at least one cell in the sheet was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateValuesResponse
constructor
A new instance of BatchUpdateValuesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchUpdateValuesResponse
Returns a new instance of BatchUpdateValuesResponse
4535 4536 4537 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4535 def initialize(**args) update!(**args) end |
Instance Attribute Details
#responses ⇒ Array<Google::Apis::SheetsV4::UpdateValuesResponse>
One UpdateValuesResponse per requested range, in the same order as
the requests appeared.
Corresponds to the JSON property responses
4522 4523 4524 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4522 def responses @responses end |
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
Corresponds to the JSON property spreadsheetId
4511 4512 4513 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4511 def spreadsheet_id @spreadsheet_id end |
#total_updated_cells ⇒ Fixnum
The total number of cells updated.
Corresponds to the JSON property totalUpdatedCells
4533 4534 4535 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4533 def total_updated_cells @total_updated_cells end |
#total_updated_columns ⇒ Fixnum
The total number of columns where at least one cell in the column was
updated.
Corresponds to the JSON property totalUpdatedColumns
4506 4507 4508 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4506 def total_updated_columns @total_updated_columns end |
#total_updated_rows ⇒ Fixnum
The total number of rows where at least one cell in the row was updated.
Corresponds to the JSON property totalUpdatedRows
4516 4517 4518 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4516 def total_updated_rows @total_updated_rows end |
#total_updated_sheets ⇒ Fixnum
The total number of sheets where at least one cell in the sheet was
updated.
Corresponds to the JSON property totalUpdatedSheets
4528 4529 4530 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4528 def total_updated_sheets @total_updated_sheets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4540 4541 4542 4543 4544 4545 4546 4547 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4540 def update!(**args) @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows) @responses = args[:responses] if args.key?(:responses) @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets) @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells) end |