Method: eventticketclass.update
Belirtilen sınıf kimliğinin referans verdiği etkinlik bileti sınıfını günceller.
HTTP isteği
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string
Bir sınıfın benzersiz tanımlayıcısıdır. 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 burada 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çermelidir.
|
İstek içeriği
İstek metni, EventTicketClass
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, EventTicketClass
öğ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 event ticket class with the provided data."],["Uses a `PUT` request to the specified endpoint with the class ID in the path."],["Requires an `EventTicketClass` object in the request body for the update."],["Returns the updated `EventTicketClass` object in the response if successful."],["Needs the `wallet_object.issuer` OAuth scope for authorization."]]],["The core action is updating an event ticket class using its unique `resourceId`. This is achieved via a `PUT` request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}`. The `resourceId` must adhere to the format `\u003cissuer ID\u003e.\u003cidentifier\u003e`. The request body requires an `EventTicketClass` instance, and a successful response will also return an `EventTicketClass` instance. This operation needs `https://www.googleapis.com/auth/wallet_object.issuer` authorization.\n"]]