Method: flightclass.update
दिए गए क्लास आईडी से रेफ़र की गई फ़्लाइट क्लास को अपडेट करता है.
एचटीटीपी अनुरोध
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
resourceId |
string
क्लास के लिए यूनीक आइडेंटिफ़ायर. यह आईडी, जारी करने वाले के सभी क्लास के लिए यूनीक होना चाहिए. यह वैल्यू issuer ID फ़ॉर्मैट में होनी चाहिए.identifier, जहां पिछली इमेज को Google जारी करता है और बाद वाला कॉन्टेंट आप चुनता है. आपके यूनीक आइडेंटिफ़ायर में सिर्फ़ अक्षर और अंक, '.', '_' या '-' होने चाहिए.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में FlightClass
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में FlightClass
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/wallet_object.issuer
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-04 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-04 (UTC) को अपडेट किया गया."],[[["Updates an existing flight class identified by its unique resource ID."],["The request must be a PUT request sent to the specified URL with the class ID in the path."],["The request body should contain the updated flight class details, and the response will contain the updated class if successful."],["Requires authorization with the `wallet_object.issuer` scope."]]],["The core action is updating a flight class using its unique class ID. This is done via a `PUT` HTTP request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}`. The `resourceId` parameter, formatted as `\u003cissuer ID\u003e.\u003cidentifier\u003e`, identifies the flight class. The request body contains the new `FlightClass` data, and a successful response returns the updated `FlightClass`. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]