PageInfo
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thông tin về trang hiện tại.
Các thao tác liệt kê có hỗ trợ phân trang chỉ trả về một "trang" kết quả. Thông báo vùng đệm giao thức này mô tả trang đã được trả về.
Biểu diễn dưới dạng JSON |
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
Trường |
totalResults |
integer
Tổng số kết quả có trong phần phụ trợ ! Tổng số kết quả trong nhóm kết quả.
|
resultPerPage |
integer
Số kết quả tối đa được trả về trong một trang. ! Số lượng kết quả có trong phản hồi của API.
|
startIndex |
integer
Chỉ mục của kết quả đầu tiên được trả về trên trang hiện tại.
|
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: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eThis documentation details the structure of a JSON response for paginated API results.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the total number of results, the number of results per page, and the starting index of the current page.\u003c/p\u003e\n"],["\u003cp\u003eThis information is used to navigate through large datasets by displaying results in manageable chunks.\u003c/p\u003e\n"]]],["The document defines the structure of a page of results returned from an API. It uses a JSON representation with three fields: `totalResults` indicates the total number of results available; `resultPerPage` specifies the maximum results returned per page; and `startIndex` denotes the index of the first result on the current page. These fields allow clients to navigate through large result sets by requesting specific pages.\n"],null,["# PageInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nInformation about the current page.\n\nList operations that supports paging return only one \"page\" of results. This protocol buffer message describes the page that has been returned.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------|\n| ``` { \"totalResults\": integer, \"resultPerPage\": integer, \"startIndex\": integer } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------|\n| `totalResults` | `integer` Total number of results available on the backend ! The total number of results in the result set. |\n| `resultPerPage` | `integer` Maximum number of results returned in one page. ! The number of results included in the API response. |\n| `startIndex` | `integer` Index of the first result returned in the current page. |"]]