Google is committed to advancing racial equity for Black communities. See how.

Reference overview

The reference documentation provided in this section describes the various Apps Script services and the Apps Script manifest file structure.

Apps Script services

Apps Script services provide ways for your script to easily access data on Google and external systems. These services are built into the Apps Script environment so you don't have to import them or implement authorization controls yourself. Services are expressed as global objects with associated methods, similar to JavaScript objects such as Math.

Apps Script services are divided into three categories:

  • Google Workspace services are services that let you access the data of Google Workspace products such as Drive, Gmail, Calendar, Docs, Sheets, and others. These services are separate from APIs created for those products; in general, Google Workspace services are easier to use than Google Workspace APIs, but are optimized for only the most common use cases.

  • Advanced Google services provide the means to use Google APIs (including but not limited to the Google Workspace product APIs) within Apps Script. Advanced Google services are really just thin wrappers around those APIs, and are not an API themselves. For more details, see Advanced Google services.

  • Script services are utility services that are not connected to a particular Google Workspace product. They let you do things like log information, create HTML, compress data, and more.

Manifests

An Apps Script project manifest is a special JSON file that specifies the basic project information that Apps Script needs to run the script successfully. The Manifest structure reference describes the content of this file and the various JSON fields it can contain.