Libraries and advanced services dependencies manifest resource

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[]

object (EnabledAdvancedService)

The list of advanced services enabled for use by the script project.

libraries[]

object (Library)

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

string

The identifier of the service that is shown in the API discovery document (for example, "drive").

userSymbol

string

The identifier used to refer to this service in the code of the Apps Script project.

version

string

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

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.

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 > Project properties.

userSymbol

string

The label that is used in the script project code to refer to this library.

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.