Method: flightobject.patch
Memperbarui objek penerbangan yang dirujuk oleh ID objek yang diberikan. Metode ini mendukung semantik patch.
Permintaan HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{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 FlightObject
.
Isi respons
Jika berhasil, isi respons memuat instance FlightObject
.
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."],[[["This document details how to update a flight object using the Google Wallet API with patch semantics."],["The request must be a PATCH request to a specific URL containing the object's unique resource ID."],["The request body should contain the updated flight object data in JSON format, conforming to the FlightObject schema."],["A successful update returns the updated flight object in the response body."],["Users need to have the `wallet_object.issuer` OAuth scope to authorize this request."]]],[]]