Method: transitobject.patch
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
עדכון אובייקט ההעברה שמזהה האובייקט הנתון מפנה אליו. השיטה הזו תומכת בסמנטיקה של תיקונים.
בקשת HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/transitObject/{resourceId}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של אובייקט. המזהה הזה חייב להיות ייחודי בכל האובייקטים של המנפיק. הערך הזה צריך להיות בפורמט issuer ID.identifier שבו הראשון הונפק על ידי Google והאחרון נבחר על ידך. המזהה הייחודי שלך יכול לכלול רק תווים אלפאנומריים, '.', '_' או '-'.
|
גוף הבקשה
גוף הבקשה מכיל מופע של TransitObject
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של TransitObject
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["Updates a transit object using patch semantics, allowing for partial modifications."],["The request requires a unique object ID in the URL path, following a specific format."],["The request body and successful response both contain a `TransitObject` resource."],["Authorization requires the `wallet_object.issuer` scope for object manipulation."]]],["This describes updating a transit object using a PATCH request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/transitObject/{resourceId}`. The `resourceId` path parameter is a unique string identifier following a specific format. The request body requires a `TransitObject` instance, and a successful response returns an updated `TransitObject`. Authorization needs the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The identifier should only include alphanumeric characters, '.', '_', or '-'.\n"]]