क्लास के लिए यूनीक आइडेंटिफ़ायर. सभी क्लास के लिए, यह आईडी यूनीक होना चाहिए. यह वैल्यू, issuer ID फ़ॉर्मैट के हिसाब से होनी चाहिए.identifier को वहां जारी किया जाता है, जहां Google ने पहली वाली सेवा जारी की है और बाद वाले वर्शन को आपने चुना है. आपके यूनीक आइडेंटिफ़ायर में सिर्फ़ अक्षर और अंक, '.', '_' या '-' शामिल होने चाहिए.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में TransitClass का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में TransitClass का एक इंस्टेंस शामिल किया जाता है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eUpdates an existing transit class identified by its unique ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request must include the transit class data in the body and proper authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe unique identifier for a class follows the format: issuer ID.identifier, where the issuer ID is issued by Google and the identifier is chosen by you..\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the updated transit class data in the response body.\u003c/p\u003e\n"]]],["The core action is updating a transit class using its unique ID. This is done via a PUT request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/transitClass/{resourceId}`. The `resourceId` is a path parameter with a defined format, comprised of an issuer ID and a user-chosen identifier. The request body must be a `TransitClass` instance, and a successful response will also return a `TransitClass` instance. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUpdates the transit class referenced by the given class ID.\n\nHTTP request\n\n`PUT https://walletobjects.googleapis.com/walletobjects/v1/transitClass/{resourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `resourceId` | `string` The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. |\n\nRequest body\n\nThe request body contains an instance of [TransitClass](/wallet/reference/rest/v1/transitclass#TransitClass).\n\nResponse body\n\nIf successful, the response body contains an instance of [TransitClass](/wallet/reference/rest/v1/transitclass#TransitClass).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]