Method: eventticketobject.patch
Mengupdate objek tiket acara yang dirujuk oleh ID objek yang diberikan. Metode ini mendukung semantik patch.
Permintaan HTTP
PATCH 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 file yang pertama diterbitkan oleh Google dan versi kedua dipilih oleh Anda. ID unik hanya boleh berisi karakter alfanumerik, '.', '_', atau '-'.
|
Isi permintaan
Isi permintaan memuat instance EventTicketObject
.
Isi respons
Jika berhasil, isi respons akan berisi instance EventTicketObject
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
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 2025-03-13 UTC.
[null,null,["Terakhir diperbarui pada 2025-03-13 UTC."],[[["Updates an existing event ticket object with patch semantics, allowing for partial modifications."],["Utilizes a `PATCH` request to `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}`, where `{resourceId}` is the unique identifier of the event ticket object."],["The request body should contain an `EventTicketObject` with the desired updates, and a successful response will return the updated `EventTicketObject`."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."]]],["This document details updating an event ticket object via a `PATCH` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a unique `resourceId` path parameter. The request body must contain an `EventTicketObject` instance, and a successful response will also contain an `EventTicketObject`. The process necessitates the authorization scope: `https://www.googleapis.com/auth/wallet_object.issuer`. This updates the ticket referenced by the given id.\n"]]