Method: genericclass.list
HTTP 请求
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass
网址采用 gRPC 转码语法。
查询参数
参数 |
issuerId |
string (int64 format)
已授权列出类的发卡机构的 ID。
|
token |
string
如果已指定 maxResults ,但列表中有多于 maxResults 个的类,则此参数用于获取下一组结果。例如,如果您的列表包含 200 个类,并且 maxResults 设置为 20 来调用列表,则列表将返回前 20 个类和一个令牌。使用设置为 20 的 maxResults 和令牌再次调用列表,将获取下一组的 20 个类。
|
maxResults |
integer
确定列表返回的结果数上限。如果未定义 maxResults ,则返回所有结果。
|
响应正文
Generalclass.list 响应,其中包含指定发卡机构 ID 的所有通用类的列表。
如果成功,响应正文将包含结构如下的数据:
字段 |
resources[] |
object (GenericClass )
与列表请求对应的资源。
|
pagination |
object (Pagination )
响应的分页。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/wallet_object.issuer
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-07。
[null,null,["最后更新时间 (UTC):2024-11-07。"],[[["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"]]