Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
Method: flightclass.update
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
HTTP 要求
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 |
resourceId |
string
類別的專屬 ID。特定核發者的所有類別 ID 都不得重複。這個值應採用以下格式:issuer ID。identifier,其中前者是由 Google 核發,後者則您指定。專屬 ID 只能包含英數字元、「.」、「_」或「-」。
|
要求主體
要求主體包含 FlightClass 的例項。
回應主體
如果成功,回應主體會包含 FlightClass 的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/wallet_object.issuer
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The core action is updating a flight class using its unique class ID. This is done via a `PUT` HTTP request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}`. The `resourceId` parameter, formatted as `\u003cissuer ID\u003e.\u003cidentifier\u003e`, identifies the flight class. The request body contains the new `FlightClass` data, and a successful response returns the updated `FlightClass`. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]