UpdateValuesResponse
คำตอบเมื่ออัปเดตช่วงของค่าในสเปรดชีต
การแสดง JSON |
{
"spreadsheetId": string,
"updatedRange": string,
"updatedRows": integer,
"updatedColumns": integer,
"updatedCells": integer,
"updatedData": {
object (ValueRange )
}
} |
ช่อง |
spreadsheetId |
string
สเปรดชีตที่ใช้การอัปเดต
|
updatedRange |
string
ช่วง (ในรูปแบบ A1) ที่มีการอัปเดต
|
updatedRows |
integer
จำนวนแถวที่มีการอัปเดตอย่างน้อย 1 เซลล์ในแถว
|
updatedColumns |
integer
จำนวนคอลัมน์ที่มีการอัปเดตเซลล์อย่างน้อย 1 เซลล์ในคอลัมน์
|
updatedCells |
integer
จำนวนเซลล์ที่อัปเดต
|
updatedData |
object (ValueRange )
ค่าของเซลล์หลังจากที่ใช้การอัปเดต โดยจะรวมเฉพาะในกรณีที่ช่อง includeValuesInResponse ของคำขอคือ true
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[null,null,["อัปเดตล่าสุด 2024-10-15 UTC"],[[["This document describes the JSON response received when updating a range of values in a Google Sheet."],["The response includes details like the spreadsheet ID, updated range, the number of rows, columns, and cells affected, and optionally, the updated data itself."],["The `updatedData` field, containing the values after the update, is only present if `includeValuesInResponse` was set to `true` in the original request."]]],["The JSON response for a spreadsheet range update includes: `spreadsheetId` (the updated spreadsheet), `updatedRange` (the range modified), `updatedRows` (rows with at least one updated cell), `updatedColumns` (columns with at least one updated cell), and `updatedCells` (total updated cells). Optionally, if requested, `updatedData` (the new cell values) is provided. All the previous values are in string format, except the amount of updated Rows, columns and cells which are integers.\n"]]