# UpdateValuesResponse

- [JSON representation](https://developers.google.com/workspace/sheets/api/reference/rest/v4/UpdateValuesResponse#SCHEMA_REPRESENTATION)

The response when updating a range of values in a spreadsheet.

| JSON representation |
|---|
| ``` { "spreadsheetId": string, "updatedRange": string, "updatedRows": integer, "updatedColumns": integer, "updatedCells": integer, "updatedData": { object (`https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values#ValueRange`) } } ``` |

| Fields ||
|---|---|
| `spreadsheetId` | `string` The spreadsheet the updates were applied to. |
| `updatedRange` | `string` The range (in A1 notation) that updates were applied to. |
| `updatedRows` | `integer` The number of rows where at least one cell in the row was updated. |
| `updatedColumns` | `integer` The number of columns where at least one cell in the column was updated. |
| `updatedCells` | `integer` The number of cells updated. |
| `updatedData` | ``object (`https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values#ValueRange`)`` The values of the cells after updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`. |