Method: eventticketobject.update
Memperbarui objek tiket acara yang dirujuk oleh ID objek yang diberikan.
Permintaan HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
resourceId |
string
ID unik untuk objek. ID ini harus unik di semua objek dari penerbit. Nilai ini harus mengikuti format issuer ID.identifier dengan yang pertama diterbitkan oleh Google dan yang kedua dipilih oleh Anda. ID unik Anda hanya boleh berisi karakter alfanumerik, '.', '_', atau '-'.
|
Isi permintaan
Isi permintaan memuat instance EventTicketObject
.
Isi respons
Jika berhasil, isi respons memuat instance EventTicketObject
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/wallet_object.issuer
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-04 UTC.
[null,null,["Terakhir diperbarui pada 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"]]