Method: eventticketobject.update
指定されたオブジェクト ID のイベント チケット オブジェクトを更新します。
HTTP リクエスト
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
resourceId |
string
オブジェクトの一意の識別子。この ID は、発行者のすべてのオブジェクトで一意である必要があります。この値は issuer ID の形式にする必要があります。identifier の形式にする必要があります。前の部分は Google が発行するものであり、後の部分はご自身で選択するものです。一意識別子には、英数字、「.」、「_」、「-」のみを使用できます。
|
リクエスト本文
リクエストの本文には EventTicketObject
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には EventTicketObject
のインスタンスが含まれます。
認可スコープ
次の 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 event ticket object with the provided data."],["Uses a `PUT` request to the specified URL with the object's unique identifier."],["Requires an `EventTicketObject` in the request body for the update."],["Returns the updated `EventTicketObject` in the response if successful."],["Needs the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["The core action is updating an event ticket object using its unique identifier (`resourceId`). This is done via a `PUT` request to the specified URL, which includes `resourceId` as a path parameter. The `resourceId` follows a specific format: `issuer ID.identifier`. The request body is an `EventTicketObject` instance. A successful operation returns an updated `EventTicketObject` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]