Method: genericclass.list
מחזירה רשימה של כל המחלקות הגנריות של מזהה מנפיק נתון.
בקשת HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של שאילתה
פרמטרים |
issuerId |
string (int64 format)
המזהה של המנפיק המורשה לפרסם סיווגים.
|
token |
string
הנתונים משמשים לקבלת קבוצת התוצאות הבאה אם צוין maxResults , אבל יותר מ-maxResults כיתות זמינות ברשימה. לדוגמה, אם יש לכם רשימה של 200 כיתות ואתם מפעילים את הרשימה maxResults עם הערך 20, הרשימה תחזיר את 20 הכיתות הראשונות ואסימון. קוראים שוב ל-list עם maxResults מוגדר כ-20 ועם האסימון כדי לקבל את 20 הכיתות הבאות.
|
maxResults |
integer
משמש לציון המספר המקסימלי של תוצאות שהוחזרו על ידי רשימה. אם לא מגדירים את maxResults , מוחזרות כל התוצאות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
תגובה של genericclass.list שמכילה את רשימת כל הכיתות הכלליות למזהה מנפיק נתון.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
שדות |
resources[] |
object (GenericClass )
המשאבים התואמים לבקשת הרשימה.
|
pagination |
object (Pagination )
חלוקה לדפים של התשובה.
|
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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"]]