Method: genericclass.update
दिए गए क्लास आईडी से रेफ़र की गई सामान्य क्लास को अपडेट करता है.
एचटीटीपी अनुरोध
PUT https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
resourceId |
string
क्लास का यूनीक आइडेंटिफ़ायर. यह आईडी, जारी करने वाले बैंक की सभी क्लास के लिए यूनीक होना चाहिए. यह वैल्यू, issuerID.identifier फ़ॉर्मैट में होनी चाहिए. इसमें issuerID को Google जारी करता है और identifier को आप चुनते हैं. यूनीक आइडेंटिफ़ायर में सिर्फ़ अक्षर और अंक, . , _ या - शामिल हो सकते हैं.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में GenericClass
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में GenericClass
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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 Generic class with a unique identifier using the provided request body data."],["The request must contain the class ID in the URL path and a GenericClass object in the body."],["A successful update returns the updated GenericClass object in the response."],["Authorization is required with the `wallet_object.issuer` scope for this operation."]]],["The core action is updating a Generic class using its unique ID (`resourceId`) via a PUT request to a specified URL. The `resourceId` (string) follows the format `issuerID.identifier`. The request body must contain a `GenericClass` instance, and a successful response will also return a `GenericClass` instance. The operation necessitates the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization.\n"]]