Method: flightobject.update
指定されたオブジェクト ID のフライト オブジェクトを更新します。
HTTP リクエスト
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
resourceId |
string
オブジェクトの一意識別子。この ID は、発行者のすべてのオブジェクトで一意である必要があります。この値には issuer ID.identifier。前者は Google が発行し、後者は貴社が選択します。一意の識別子には、英数字、「.」、「_」、「-」のみを使用してください。
|
リクエスト本文
リクエストの本文には FlightObject
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には FlightObject
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-04 UTC。
[null,null,["最終更新日 2024-11-04 UTC。"],[[["Updates an existing flight object using its unique identifier."],["The request must contain the flight object data in the body and the object ID in the URL path."],["A successful update returns the updated flight object in the response."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["This describes how to update a flight object using a PUT request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}`, with `resourceId` being the unique flight object identifier. The request body must contain a `FlightObject` instance. A successful response will also include a `FlightObject` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` parameter format should be issuer ID.identifier.\n"]]