Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
Method: genericclass.get
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
HTTP 要求
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 |
resourceId |
string
類別的專屬 ID。特定核發者的所有類別 ID 都不得重複。這個值必須符合 issuerID.identifier 格式,其中 issuerID 是由 Google 核發,並由您選擇 identifier。專屬 ID 只能包含英數字元、.、_ 或 -。
|
回應主體
如果成功,回應主體會包含 GenericClass 的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/wallet_object.issuer
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The core content describes retrieving a generic class using its ID. A `GET` request is made to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}`, utilizing gRPC Transcoding. The `resourceId` path parameter, formatted as `issuerID.identifier`, uniquely identifies the class. The request body must be empty. A successful request returns a `GenericClass` instance in the response body. Access requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]