class Script extends Service (View source)

Service definition for Script (v1).

Manages and executes Google Apps Script projects.

For more information about this service, see the API Documentation

Constants

MAIL_GOOGLE_COM

Read, compose, send, and permanently delete all your email from Gmail.

WWW_GOOGLE_COM_CALENDAR_FEEDS

See, edit, share, and permanently delete all the calendars you can access using Google Calendar.

WWW_GOOGLE_COM_M8_FEEDS

See, edit, download, and permanently delete your contacts.

ADMIN_DIRECTORY_GROUP

View and manage the provisioning of groups on your domain.

ADMIN_DIRECTORY_USER

View and manage the provisioning of users on your domain.

DOCUMENTS

See, edit, create, and delete all your Google Docs documents.

DRIVE

See, edit, create, and delete all of your Google Drive files.

FORMS

View and manage your forms in Google Drive.

FORMS_CURRENTONLY

View and manage forms that this application has been installed in.

GROUPS

View and manage your Google Groups.

SCRIPT_DEPLOYMENTS

Create and update Google Apps Script deployments.

SCRIPT_DEPLOYMENTS_READONLY

View Google Apps Script deployments.

SCRIPT_METRICS

View Google Apps Script project's metrics.

SCRIPT_PROCESSES

View Google Apps Script processes.

SCRIPT_PROJECTS

Create and update Google Apps Script projects.

SCRIPT_PROJECTS_READONLY

View Google Apps Script projects.

SPREADSHEETS

See, edit, create, and delete all your Google Sheets spreadsheets.

USERINFO_EMAIL

See your primary Google Account email address.

Properties

$processes
$projects
$projects_deployments
$projects_versions
$scripts
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Script service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Script service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.