Method: flightclass.list
指定された発行者 ID のすべてのフライトクラスのリストを返します。
HTTP リクエスト
GET https://walletobjects.googleapis.com/walletobjects/v1/flightClass
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
issuerId |
string (int64 format)
クラスをリストする権限を持つ発行者の ID。
|
token |
string
maxResults が指定されていて、リスト内に maxResults 個を超えるクラスがある場合に、次の結果セットを取得するために使用されます。たとえば、200 個のクラスを含むリストがあり、maxResults を 20 に設定してリストを呼び出した場合、リストからは最初の 20 個のクラスとトークンが返されます。次の 20 個のクラスを取得するには、maxResults を 20 に設定し、このトークンを指定して再度リストを呼び出します。
|
maxResults |
integer
リストから返される結果の最大数を指定します。maxResults が定義されていない場合は、すべての結果が返されます。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文に次の構造のデータが含まれます。
認可スコープ
次の 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。"],[[["Retrieves a paginated list of all flight classes for a specified issuer ID."],["Uses a GET request to the `walletobjects.googleapis.com/walletobjects/v1/flightClass` endpoint with query parameters for issuer ID, pagination token, and maximum results."],["Requires an empty request body and returns a JSON response containing an array of flight class resources and pagination information."],["Needs authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."]]],["This document details retrieving a list of flight classes via a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/flightClass`. It requires an issuer ID, and optionally uses a `token` and `maxResults` for pagination. The request body must be empty. The successful response returns a JSON structure containing an array of `FlightClass` resources and pagination information. OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` is mandatory.\n"]]