Method: flightclass.patch
מעדכן את מחלקת הטיסה שאליה מפנה מזהה המחלקה הנתון. השיטה הזו תומכת בסמינטיקה של תיקונים.
בקשת HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של הכיתה. המזהה הזה חייב להיות ייחודי בכל המחלקות של המנפיק. הערך צריך להיות בפורמט issuer ID.identifier, כאשר המזהה הראשון מונפק על ידי Google והשני נבחר על ידכם. המזהה הייחודי צריך לכלול רק תווים אלפאנומריים, נקודה (.), קו תחתון (_) או מקף (-).
|
גוף הבקשה
גוף הבקשה מכיל מופע של FlightClass
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של FlightClass
.
היקפי הרשאה
נדרש היקף ההרשאות הבא של 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 flight class with partial updates using patch semantics."],["The request should target the specific flight class resource using its unique identifier in the URL."],["The request body must contain a `FlightClass` object representing the desired changes."],["A successful update will return the updated `FlightClass` object in the response."],["This operation requires the `wallet_object.issuer` OAuth scope for authorization."]]],["The core action is updating a flight class using its unique `resourceId` via a PATCH HTTP request to a specific URL. The `resourceId` is a string formatted as `issuer ID.identifier`. The request body includes an instance of `FlightClass`, and a successful response also returns a `FlightClass` instance. This action requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope. The parameters are defined as PATH parameter.\n"]]