Method: eventticketclass.patch
Aktualizuje klasę biletu na wydarzenie, do której odwołuje się podany identyfikator klasy. Ta metoda obsługuje semantykę poprawki.
Żądanie HTTP
PATCH 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 patch semantics, allowing for partial modifications."],["The request must target a specific class identified by its unique `resourceId` in the URL path."],["The request body should contain the desired changes to the `EventTicketClass` object."],["A successful update will return the updated `EventTicketClass` object in the response."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for execution."]]],["The core action is to update an event ticket class using a `PATCH` request to a specified URL. The `resourceId` path parameter, a unique string identifier in the format of `issuer ID.identifier`, is required to locate the class. The request body contains the updated `EventTicketClass` data. A successful response returns the modified `EventTicketClass`. This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The URL uses gRPC Transcoding.\n"]]