लाइब्रेरी और बेहतर सेवाओं की डिपेंडेंसी के लिए मेनिफ़ेस्ट संसाधन
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह स्क्रिप्ट के लिए, लाइब्रेरी और ऐडवांस सेवाओं के कॉन्फ़िगरेशन का सेट होता है.
डिपेंडेंसी
यह डिपेंडेंसी मेनिफ़ेस्ट कॉन्फ़िगरेशन का टॉप-लेवल होता है.
EnabledAdvancedService
स्क्रिप्ट ने ऐडवांस सेवा को कॉन्फ़िगर किया है.
JSON के काेड में दिखाना |
{
"serviceId": string,
"userSymbol": string,
"version": string
} |
फ़ील्ड |
serviceId |
string
यह उस सेवा का आइडेंटिफ़ायर है जिसे एपीआई के बारे में ज़रूरी जानकारी देने वाले दस्तावेज़ में दिखाया जाता है. उदाहरण के लिए, "drive".
|
userSymbol |
string
इस सेवा की पहचान के लिए इस्तेमाल किया गया आइडेंटिफ़ायर. इसका इस्तेमाल Apps Script प्रोजेक्ट के कोड में किया जाता है.
|
version |
string
सेवा का चालू किया गया वर्शन (उदाहरण के लिए, "v1").
|
लाइब्रेरी
स्क्रिप्ट ने जिस लाइब्रेरी को इंपोर्ट किया है उसका कॉन्फ़िगरेशन.
JSON के काेड में दिखाना |
{
"developmentMode": boolean,
"libraryId": string,
"userSymbol": string,
"version": string
} |
फ़ील्ड |
developmentMode |
boolean
अगर true , तो version को अनदेखा कर दिया जाता है. साथ ही, स्क्रिप्ट, सेव किए गए मौजूदा लाइब्रेरी प्रोजेक्ट के कोड का इस्तेमाल करती है. भले ही, उस कोड को नए वर्शन में सेव न किया गया हो.
|
libraryId |
string
लाइब्रेरी के स्क्रिप्ट प्रोजेक्ट का स्क्रिप्ट आईडी. लाइब्रेरी स्क्रिप्ट के यूआरएल में स्क्रिप्ट आईडी देखा जा सकता है. इसके अलावा, स्क्रिप्ट एडिटर में फ़ाइल > प्रोजेक्ट की प्रॉपर्टी चुनकर भी स्क्रिप्ट आईडी देखा जा सकता है.
|
userSymbol |
string
यह लेबल, स्क्रिप्ट प्रोजेक्ट कोड में इस लाइब्रेरी को रेफ़र करने के लिए इस्तेमाल किया जाता है.
|
version |
string
लाइब्रेरी का वह वर्शन जिसका इस्तेमाल स्क्रिप्ट करती है. यह या तो वर्शन नंबर है या stable है. इसका मतलब है कि यह बनाया गया आखिरी वर्शन है.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eDefines configurations for libraries and advanced services used by a script.\u003c/p\u003e\n"],["\u003cp\u003eOutlines the structure for declaring dependencies, including enabled advanced services and libraries.\u003c/p\u003e\n"],["\u003cp\u003eSpecifies how to configure individual advanced services with their ID, user symbol, and version.\u003c/p\u003e\n"],["\u003cp\u003eDetails the configuration of imported libraries, including development mode, library ID, user symbol, and version.\u003c/p\u003e\n"]]],[],null,["# Libraries and advanced services dependencies manifest resource\n\nThe set of configurations for the [libraries](/apps-script/guides/libraries) and\n[advanced services](/apps-script/guides/services/advanced) the script has\nenabled.\n\nDependencies\n------------\n\nThe top-level of the dependency manifest configuration.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------|\n| ```text { \"enabledAdvancedServices\": [ { object (EnabledAdvancedService) } ], \"libraries\": [ { object (Library) } ] } ``` |\n\n| Fields ||\n|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `enabledAdvancedServices[]` | `object (`[EnabledAdvancedService](#enabledadvancedservice)`)` The list of [advanced services](/apps-script/guides/services/advanced) enabled for use by the script project. |\n| `libraries[]` | `object (`[Library](#library)`)` The list of [libraries](/apps-script/guides/libraries) used by the script project. |\n\n### EnabledAdvancedService\n\nThe configuration of an [advanced service](/apps-script/guides/services/advanced)\nthe script has enabled.\n\n| JSON representation |\n|------------------------------------------------------------------------------|\n| ```text { \"serviceId\": string, \"userSymbol\": string, \"version\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------|\n| `serviceId` | `string` The identifier of the service that is shown in the API discovery document (for example, \"drive\"). |\n| `userSymbol` | `string` The identifier used to refer to this service in the code of the Apps Script project. |\n| `version` | `string` The enabled version of the service (for example, \"v1\"). |\n\n### Library\n\nThe configuration of a [library](/apps-script/guides/libraries)\nthe script has imported.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ```carbon { \"developmentMode\": boolean, \"libraryId\": string, \"userSymbol\": string, \"version\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `developmentMode` | `boolean` If `true`, `version` is ignored and the script uses the current library project saved code, even if that code hasn't been saved to a new version. |\n| `libraryId` | `string` The script ID of the library's script project. You can find a script ID in the library script's URL or in the script editor by selecting **File \\\u003e Project properties**. |\n| `userSymbol` | `string` The label that is used in the script project code to refer to this library. |\n| `version` | `string` The version of the library that is used by the script. This is either a version number or `stable`, meaning the last version created. |"]]