Method: genericobject.update
दिए गए ऑब्जेक्ट आईडी से रेफ़र किए गए सामान्य ऑब्जेक्ट को अपडेट करता है.
एचटीटीपी अनुरोध
PUT https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
resourceId |
string
किसी ऑब्जेक्ट के लिए यूनीक आइडेंटिफ़ायर. यह आईडी, जारी करने वाले के सभी ऑब्जेक्ट के लिए यूनीक होना चाहिए. यह वैल्यू, issuerID.identifier फ़ॉर्मैट के मुताबिक होनी चाहिए, जहां Google ने issuerID जारी किया है और identifier को आपने चुना है. यूनीक आइडेंटिफ़ायर में सिर्फ़ अक्षर और अंक, . , _ या - शामिल किए जा सकते हैं.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में GenericObject
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में GenericObject
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/wallet_object.issuer
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-03-13 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-03-13 (UTC) को अपडेट किया गया."],[[["This PUT request updates a generic object referenced by its unique ID."],["The object ID must follow a specific format: `issuerID.identifier`."],["Request and response bodies both utilize the `GenericObject` schema."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["The document details updating a generic object via a `PUT` HTTP request to a specific URL using gRPC Transcoding. The URL requires a `resourceId` path parameter, formatted as `issuerID.identifier`, to uniquely identify the object. The request body must contain a `GenericObject` instance, and a successful response will also return a `GenericObject` instance. The operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]