स्क्रिप्ट प्रोजेक्ट के वर्शन को दिखाने वाला संसाधन. वर्शन एक "स्नैपशॉट" होता है जो सिर्फ़ पढ़ने के लिए उपलब्ध ब्रांच्ड रिलीज़ की तरह है. डिप्लॉयमेंट बनाते समय, इस्तेमाल किया जाने वाला वर्शन बताना ज़रूरी है.
इंक्रीमेंटल आईडी, जो वर्शन बनाए जाने पर Apps Script के ज़रिए बनाया जाता है. यह सिस्टम से असाइन किया गया नंबर है. एक बार बनाए जाने के बाद, इसे बदला नहीं जा सकता.
आरएफ़सी3339 यूटीसी "ज़ुलु" में टाइमस्टैंप फ़ॉर्मैट, नैनोसेकंड रिज़ॉल्यूशन और ज़्यादा से ज़्यादा नौ फ़्रैक्शनल अंकों के साथ हो सकता है. उदाहरण: "2014-10-02T15:01:23Z" और "2014-10-02T15:01:23.045123456Z".
[[["समझने में आसान है","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-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eA Version represents a read-only snapshot of a script project, similar to a branched release.\u003c/p\u003e\n"],["\u003cp\u003eIt's essential to specify the desired Version when creating Deployments.\u003c/p\u003e\n"],["\u003cp\u003eVersions have a unique ID, description, creation timestamp, and are linked to a specific script project.\u003c/p\u003e\n"],["\u003cp\u003eYou can create, retrieve, and list Versions through the provided methods.\u003c/p\u003e\n"]]],[],null,["- [Resource: Version](#Version)\n - [JSON representation](#Version.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Version A resource representing a script project version. A version is a \"snapshot\" of a script project and is similar to a read-only branched release. When creating deployments, the version to use must be specified.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------|\n| ``` { \"scriptId\": string, \"versionNumber\": integer, \"description\": string, \"createTime\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `scriptId` | `string` The script project's Drive ID. |\n| `versionNumber` | `integer` The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created. |\n| `description` | `string` The description for this version. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` When the version was created. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\n| Methods ||\n|-----------------------------------------------------------------------|---------------------------------------------------------------------------------------|\n| [create](/apps-script/api/reference/rest/v1/projects.versions/create) | Creates a new immutable version using the current code, with a unique version number. |\n| [get](/apps-script/api/reference/rest/v1/projects.versions/get) | Gets a version of a script project. |\n| [list](/apps-script/api/reference/rest/v1/projects.versions/list) | List the versions of a script project. |"]]