Method: genericclass.list
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirli bir veren kuruluş kimliğine ilişkin tüm genel sınıfların listesini döndürür.
HTTP isteği
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Sorgu parametreleri
Parametreler |
issuerId |
string (int64 format)
Sınıfları listeleme yetkisi veren kuruluşun kimliği.
|
token |
string
maxResults belirtilmişse ancak bir listede maxResults taneden fazla sınıf varsa sonraki sonuç grubunu almak için kullanılır. Örneğin, 200 sınıftan oluşan bir listeniz varsa ve maxResults bulunan çağrı listeniz 20 olarak ayarlanmışsa liste, ilk 20 sınıfı ve bir jetonu döndürür. maxResults ile tekrar arama listesi 20 olarak ayarlandı ve sonraki 20 sınıfı almak için kullanılacak jeton.
|
maxResults |
integer
Bir listenin döndürdüğü maksimum sonuç sayısını tanımlar. maxResults tanımlanmamışsa tüm sonuçlar döndürülür.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Belirli bir veren kuruluş kimliğine ilişkin tüm genel sınıfların listesini içeren genelclass.list yanıtı.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
Alanlar |
resources[] |
object (GenericClass )
Liste isteğine karşılık gelen kaynaklar.
|
pagination |
object (Pagination )
Yanıtın sayfalara ayrılması.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/wallet_object.issuer
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eThis document details the process for retrieving a list of all generic classes associated with a specific issuer ID using the Google Wallet API.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using an HTTP GET method to a defined endpoint with query parameters for issuer ID, pagination token, and maximum results.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of generic classes and pagination details for navigating large result sets.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e OAuth scope for access.\u003c/p\u003e\n"]]],["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"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.GenericClassListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns a list of all generic classes for a given issuer ID.\n\nHTTP request\n\n`GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nQuery parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `issuerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the issuer authorized to list classes. |\n| `token` | `string` Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes. |\n| `maxResults` | `integer` Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body genericclass.list response which contains the list of all generic classes for a given issuer ID.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"resources\": [ { object (/wallet/reference/rest/v1/genericclass#GenericClass) } ], \"pagination\": { object (/wallet/reference/rest/v1/Pagination) } } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `resources[]` | `object (`[GenericClass](/wallet/reference/rest/v1/genericclass#GenericClass)`)` Resources corresponding to the list request. |\n| `pagination` | `object (`[Pagination](/wallet/reference/rest/v1/Pagination)`)` Pagination of the response. |\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]