Page Summary
-
Dependencies in a script manifest configure the libraries and advanced services the script uses.
-
The
dependenciesJSON includesenabledAdvancedServicesandlibraries. -
EnabledAdvancedServiceconfiguration includes the service identifier, user symbol, and version. -
Libraryconfiguration includes development mode, library ID, user symbol, and version.
The set of configurations for libraries and advanced services enabled in the Google Apps Script project.
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 the script project. |
libraries[]
|
The list of libraries used by the script project. |
EnabledAdvancedService
The configuration of an enabled advanced service .
| JSON representation |
|---|
{
"serviceId": string,
"userSymbol": string,
"version": string
}
|
| Fields | |
|---|---|
serviceId
|
The service identifier shown in the API discovery document (for example, "drive"). |
userSymbol
|
The identifier used to refer to this service in the Apps Script project code. |
version
|
The enabled service version (for example, "v1"). |
Library
The configuration of an imported library .
| JSON representation |
|---|
{ "developmentMode" : boolean , "libraryId" : string , "userSymbol" : string , "version" : string } |
| Fields | |
|---|---|
developmentMode
|
If |
libraryId
|
The script ID of the library project. You can find the script ID in the project URL or by selecting File > Project properties . |
userSymbol
|
The label used in the script project code to refer to this library. |
version
|
The library version used by the script. This is a version number or |

