PageInfo
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
اطلاعات مربوط به صفحه فعلی
لیست عملیاتی که از صفحه بندی پشتیبانی می کند تنها یک "صفحه" از نتایج را برمی گرداند. این پیام بافر پروتکل صفحه ای را که بازگردانده شده است توصیف می کند.
نمایندگی JSON |
---|
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
فیلدها |
---|
totalResults | integer تعداد کل نتایج موجود در باطن! تعداد کل نتایج در مجموعه نتایج. |
resultPerPage | integer حداکثر تعداد نتایج برگردانده شده در یک صفحه. ! تعداد نتایج موجود در پاسخ API. |
startIndex | integer فهرست اولین نتیجه بازگشتی در صفحه فعلی. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]