Method: genericclass.list
यह किसी दिए गए जारीकर्ता आईडी के लिए, सभी सामान्य क्लास की सूची दिखाता है.
एचटीटीपी अनुरोध
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
क्वेरी पैरामीटर
पैरामीटर |
issuerId |
string (int64 format)
उस व्यक्ति या कंपनी का आईडी जिसके पास क्लास की सूची बनाने की अनुमति है.
|
token |
string
अगर maxResults बताया गया है, तो नतीजों का अगला सेट पाने के लिए इसका इस्तेमाल किया जाता है, लेकिन एक सूची में maxResults से ज़्यादा क्लास उपलब्ध हैं. उदाहरण के लिए, अगर आपके पास 200 क्लास की सूची है और आपने maxResults को 20 पर सेट करके list को कॉल किया है, तो list, पहली 20 क्लास और एक टोकन दिखाएगा. फिर से कॉल सूची में maxResults को 20 पर सेट करें और टोकन को अगली 20 क्लास के लिए सेट करें.
|
maxResults |
integer
किसी सूची से मिले नतीजों की ज़्यादा से ज़्यादा संख्या की पहचान करता है. अगर maxResults तय नहीं है, तो सभी नतीजे दिखते हैं.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
genericclass.list response, जिसमें किसी जारीकर्ता आईडी के लिए सभी सामान्य क्लास की सूची होती है.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
फ़ील्ड |
resources[] |
object (GenericClass )
सूची के अनुरोध के मुताबिक संसाधन.
|
pagination |
object (Pagination )
जवाब का पेजेशन.
|
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/wallet_object.issuer
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया."],[[["This document details the process for retrieving a list of all generic classes associated with a specific issuer ID using the Google Wallet API."],["The request is made using an HTTP GET method to a defined endpoint with query parameters for issuer ID, pagination token, and maximum results."],["The response includes a list of generic classes and pagination details for navigating large result sets."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for access."]]],["This document details how to retrieve a list of generic classes associated with a specific issuer ID. A `GET` request is sent to the provided URL, including the issuer ID, an optional token for pagination, and an optional maximum results parameter in the query. The request body must be empty. A successful response returns a JSON object containing an array of `GenericClass` resources and pagination information if available, all within the authorized OAuth scope.\n"]]