TokenPagination
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टोकन नंबर को पेजों में बांटने की सुविधा चालू होने पर, सूची वाली कार्रवाई से पेज पर नंबर डालने की जानकारी मिलती है.
उन कार्रवाइयों की सूची बनाना जो पेजिंग से सिर्फ़ एक "पेज" रिटर्न करती हैं में से एक के बाद एक. यह प्रोटोकॉल बफ़र मैसेज, दिखाए गए पेज के बारे में बताता है.
टोकन पेज नंबर का इस्तेमाल करते समय, क्लाइंट को नतीजे का दूसरा पेज पाने के लिए अगले/पिछले टोकन का इस्तेमाल करना चाहिए. अगला/पिछला टोकन मौजूद होने या न होने का मतलब है कि अगला/पिछला पेज उपलब्ध है या नहीं. साथ ही, इससे इस पेज को ऐक्सेस किया जा सकता है. दूसरे पेज पर जाने के लिए, ListRequest.page_token को NextPageToken या beforePageToken पर सेट किया जाना चाहिए.
JSON के काेड में दिखाना |
{
"nextPageToken": string,
"previousPageToken": string
} |
फ़ील्ड |
nextPageToken |
string
स्टैंडर्ड सूची फ़ील्ड 'pageToken' में पास करने के लिए टोकन. जब भी उपलब्ध हो, तब startIndex में हेर-फेर करने के बजाय टोकन को प्राथमिकता दी जाती है.
|
previousPageToken |
string
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis document explains the structure of pagination information returned for list operations that support paging when token pagination is enabled.\u003c/p\u003e\n"],["\u003cp\u003eClients should utilize the \u003ccode\u003enextPageToken\u003c/code\u003e or \u003ccode\u003epreviousPageToken\u003c/code\u003e to navigate between pages of results.\u003c/p\u003e\n"],["\u003cp\u003eThe presence or absence of these tokens indicates the availability of additional pages.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of this pagination information includes \u003ccode\u003enextPageToken\u003c/code\u003e and \u003ccode\u003epreviousPageToken\u003c/code\u003e fields as strings.\u003c/p\u003e\n"]]],["List operations with pagination return one page of results. `nextPageToken` and `previousPageToken` are provided as strings to access subsequent or prior pages. Clients should set `ListRequest.page_token` to one of these tokens for navigation. The presence of these tokens indicates if a respective page is available. Tokens are favored over manipulating `startIndex` for accessing pages. JSON representation uses these string values.\n"],null,[]]