Method: flightclass.update
Belirtilen sınıf kimliğinin referans verdiği uçuş sınıfını günceller.
HTTP isteği
PUT 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 verenin tüm sınıflarında 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 identified by its unique resource ID."],["The request must be a PUT request sent to the specified URL with the class ID in the path."],["The request body should contain the updated flight class details, and the response will contain the updated class if successful."],["Requires authorization with the `wallet_object.issuer` scope."]]],["The core action is updating a flight class using its unique class ID. This is done via a `PUT` HTTP request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}`. The `resourceId` parameter, formatted as `\u003cissuer ID\u003e.\u003cidentifier\u003e`, identifies the flight class. The request body contains the new `FlightClass` data, and a successful response returns the updated `FlightClass`. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]