Method: eventticketobject.update
הקוד מעדכן את אובייקט כרטיס האירוע שמוזכר במזהה האובייקט שצוין.
בקשת HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של אובייקט. המזהה הזה חייב להיות ייחודי בכל האובייקטים של מנפיק. הערך צריך להיות בפורמט issuer ID.identifier, כאשר המזהה הראשון מונפק על ידי Google והשני נבחר על ידכם. המזהה הייחודי יכול לכלול רק תווים אלפאנומריים, '.', '_' או '-'.
|
גוף הבקשה
גוף הבקשה מכיל מופע של EventTicketObject
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של EventTicketObject
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-04 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-04 (שעון UTC)."],[[["Updates an existing event ticket object with the provided data."],["Uses a `PUT` request to the specified URL with the object's unique identifier."],["Requires an `EventTicketObject` in the request body for the update."],["Returns the updated `EventTicketObject` in the response if successful."],["Needs the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["The core action is updating an event ticket object using its unique identifier (`resourceId`). This is done via a `PUT` request to the specified URL, which includes `resourceId` as a path parameter. The `resourceId` follows a specific format: `issuer ID.identifier`. The request body is an `EventTicketObject` instance. A successful operation returns an updated `EventTicketObject` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]