Method: eventticketclass.update
Aktualizuje klasę biletu na wydarzenie, do której odwołuje się podany identyfikator klasy.
Żądanie HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
resourceId |
string
Unikalny identyfikator klasy. Ten identyfikator musi być unikalny wśród wszystkich klas wydawcy. Ta wartość powinna mieć format issuer ID.identifier, gdzie pierwszy identyfikator jest wystawiany przez Google, a drugi jest wybierany przez Ciebie. Unikalny identyfikator powinien zawierać tylko znaki alfanumeryczne oraz znaki „.”, „_” lub „-”.
|
Treść żądania
Treść żądania zawiera wystąpienie elementu EventTicketClass
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EventTicketClass
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-04 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]