Method: genericclass.list
指定された発行者 ID のすべての汎用クラスのリストを返します。
HTTP リクエスト
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
issuerId |
string (int64 format)
クラスを一覧表示する権限を持つ発行者の ID。
|
token |
string
maxResults が指定されているが、maxResults より多数のクラスがリストに含まれる場合に、次の結果を取得するために使用します。たとえば、200 個のクラスを含むリストがあり、maxResults を 20 に設定してリストを呼び出すと、最初の 20 個のクラスとトークンが返されます。次の 20 個のクラスを取得するには、maxResults を 20 に設定し、このトークンを指定して再度リストを呼び出します。
|
maxResults |
integer
リストから返される結果の最大数を指定します。maxResults が定義されていない場合は、すべての結果が返されます。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
指定された発行者 ID のすべての汎用クラスのリストを含む genericclass.list レスポンス。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]