maxResults을 지정했지만 목록에 maxResults보다 많은 클래스가 있는 경우 다음 결과 집합을 가져오는 데 사용됩니다. 예를 들어 클래스가 200개인 목록이 있는데 maxResults를 20으로 설정하여 목록을 호출하면 목록은 처음 20개의 클래스와 토큰 하나를 반환합니다. 다음 20개 클래스를 가져오려면 maxResults를 20으로 설정하고 토큰을 사용하여 목록을 다시 호출합니다.
maxResults
integer
목록에서 반환하는 최대 결과 수를 식별합니다. maxResults를 정의하지 않으면 모든 결과가 반환됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eRetrieves a paginated list of all transit classes for a specified issuer ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires an issuer ID as a query parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of transit class objects and pagination information.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e for authorization.\u003c/p\u003e\n"]]],["This content describes how to retrieve a list of transit classes for a specific issuer. A `GET` request is sent to `https://walletobjects.googleapis.com/walletobjects/v1/transitClass`. The request utilizes query parameters: `issuerId` (required), `token` (for pagination), and `maxResults`. The request body must be empty. The response returns a JSON structure with `resources` (a list of TransitClass objects) and `pagination` details. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` 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.TransitClassListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns a list of all transit classes for a given issuer ID.\n\nHTTP request\n\n`GET https://walletobjects.googleapis.com/walletobjects/v1/transitClass`\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 If successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"resources\": [ { object (/wallet/reference/rest/v1/transitclass#TransitClass) } ], \"pagination\": { object (/wallet/reference/rest/v1/Pagination) } } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `resources[]` | `object (`[TransitClass](/wallet/reference/rest/v1/transitclass#TransitClass)`)` 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`"]]