Method: flightobject.update
Belirtilen nesne kimliğiyle referansta bulunulan uçuş nesnesini günceller.
HTTP isteği
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string
Bir nesnenin benzersiz tanımlayıcısıdır. Bu kimlik, bir verenin tüm nesneleri genelinde benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier: İlk sertifika Google tarafından verilir, ikincisini siz seçersiniz. Benzersiz tanımlayıcınız yalnızca alfanümerik karakterler, '.', '_' veya '-' içermelidir.
|
İstek içeriği
İstek metni, FlightObject
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, FlightObject
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/wallet_object.issuer
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-03-13 UTC.
[null,null,["Son güncelleme tarihi: 2025-03-13 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"]]