Method: flightclass.list
지정된 발급기관 ID의 모든 항공편 클래스 목록을 반환합니다.
HTTP 요청
GET https://walletobjects.googleapis.com/walletobjects/v1/flightClass
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
issuerId |
string (int64 format)
클래스를 나열하도록 승인된 발급기관의 ID입니다.
|
token |
string
maxResults 을 지정했지만 목록에 maxResults 보다 많은 클래스가 있는 경우 다음 결과 집합을 가져오는 데 사용됩니다. 예를 들어 클래스가 200개인 목록이 있는데 maxResults 를 20으로 설정하고 목록을 호출하면 목록은 처음 20개의 클래스와 토큰 하나를 반환합니다. 다음 20개 클래스를 가져오려면 maxResults 를 20으로 설정하고 토큰을 사용하여 목록을 다시 호출합니다.
|
maxResults |
integer
목록에서 반환하는 결과의 최대 개수를 식별합니다. maxResults 를 정의하지 않으면 모든 결과가 반환됩니다.
|
응답 본문
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
필드 |
resources[] |
object (FlightClass )
목록 요청에 해당하는 리소스입니다.
|
pagination |
object (Pagination )
응답의 페이지로 나누기입니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/wallet_object.issuer
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]