Method: flightclass.patch
Belirtilen sınıf kimliğinin referans verdiği uçuş sınıfını günceller. Bu yöntem yama anlamını destekler.
HTTP isteği
PATCH https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string
Sınıfın benzersiz tanımlayıcısı. Bu kimlik, bir kartı veren kuruluşa ait tüm sınıflarda benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier. Bunlardan ilki Google tarafından verilir, ikincisi ise sizin tarafınızdan seçilir. Benzersiz tanımlayıcınız yalnızca alfanümerik karakterler, ".", "_" veya "-" işaretlerini içermelidir.
|
İstek içeriği
İstek metni, FlightClass
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, FlightClass
öğ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: 2024-11-04 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-04 UTC."],[[["Updates an existing flight class with partial updates using patch semantics."],["The request should target the specific flight class resource using its unique identifier in the URL."],["The request body must contain a `FlightClass` object representing the desired changes."],["A successful update will return the updated `FlightClass` object in the response."],["This operation requires the `wallet_object.issuer` OAuth scope for authorization."]]],["The core action is updating a flight class using its unique `resourceId` via a PATCH HTTP request to a specific URL. The `resourceId` is a string formatted as `issuer ID.identifier`. The request body includes an instance of `FlightClass`, and a successful response also returns a `FlightClass` instance. This action requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope. The parameters are defined as PATH parameter.\n"]]