UpdateValuesResponse
Phản hồi khi cập nhật một dải giá trị trong bảng tính.
Biểu diễn dưới dạng JSON |
{
"spreadsheetId": string,
"updatedRange": string,
"updatedRows": integer,
"updatedColumns": integer,
"updatedCells": integer,
"updatedData": {
object (ValueRange )
}
} |
Trường |
spreadsheetId |
string
Bảng tính mà bạn đã áp dụng nội dung cập nhật.
|
updatedRange |
string
Dải ô (bằng ký hiệu A1) mà nội dung cập nhật đã được áp dụng.
|
updatedRows |
integer
Số hàng có ít nhất một ô trong hàng được cập nhật.
|
updatedColumns |
integer
Số cột mà trong đó có ít nhất một ô trong cột được cập nhật.
|
updatedCells |
integer
Số ô được cập nhật.
|
updatedData |
object (ValueRange )
Giá trị của các ô sau khi áp dụng nội dung cập nhật. Trường này chỉ được đưa vào nếu trường includeValuesInResponse của yêu cầu là true .
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-10-15 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]