AI-generated Key Takeaways
-
Defines configurations for libraries and advanced services used by a script.
-
Outlines the structure for declaring dependencies, including enabled advanced services and libraries.
-
Specifies how to configure individual advanced services with their ID, user symbol, and version.
-
Details the configuration of imported libraries, including development mode, library ID, user symbol, and version.
The set of configurations for the libraries and advanced services the script has enabled.
Dependencies
The top-level of the dependency manifest configuration.
JSON representation |
---|
{ "enabledAdvancedServices": [ { object (EnabledAdvancedService) } ], "libraries": [ { object (Library) } ] } |
Fields | |
---|---|
enabledAdvancedServices[] |
The list of advanced services enabled for use by the script project. |
libraries[] |
The list of libraries used by the script project. |
EnabledAdvancedService
The configuration of an advanced service the script has enabled.
JSON representation |
---|
{ "serviceId": string, "userSymbol": string, "version": string } |
Fields | |
---|---|
serviceId |
The identifier of the service that is shown in the API discovery document (for example, "drive"). |
userSymbol |
The identifier used to refer to this service in the code of the Apps Script project. |
version |
The enabled version of the service (for example, "v1"). |
Library
The configuration of a library the script has imported.
JSON representation |
---|
{ "developmentMode": boolean, "libraryId": string, "userSymbol": string, "version": string } |
Fields | |
---|---|
developmentMode |
If |
libraryId |
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 > Project properties. |
userSymbol |
The label that is used in the script project code to refer to this library. |
version |
The version of the library that is used by the script. This is either
a version number or |