Google_Service_Script
extends Google_Service
in package
Service definition for Script (v1).
Manages and executes Google Apps Script projects.
For more information about this service, see the API Documentation
Tags
Table of Contents
- ADMIN_DIRECTORY_GROUP = "https://www.googleapis.com/auth/admin.directory.group"
- View and manage the provisioning of groups on your domain.
- ADMIN_DIRECTORY_USER = "https://www.googleapis.com/auth/admin.directory.user"
- View and manage the provisioning of users on your domain.
- DOCUMENTS = "https://www.googleapis.com/auth/documents"
- View and manage your Google Docs documents.
- DRIVE = "https://www.googleapis.com/auth/drive"
- See, edit, create, and delete all of your Google Drive files.
- FORMS = "https://www.googleapis.com/auth/forms"
- View and manage your forms in Google Drive.
- FORMS_CURRENTONLY = "https://www.googleapis.com/auth/forms.currentonly"
- View and manage forms that this application has been installed in.
- GROUPS = "https://www.googleapis.com/auth/groups"
- View and manage your Google Groups.
- MAIL_GOOGLE_COM = "https://mail.google.com/"
- Read, compose, send, and permanently delete all your email from Gmail.
- SCRIPT_DEPLOYMENTS = "https://www.googleapis.com/auth/script.deployments"
- Create and update Google Apps Script deployments.
- SCRIPT_DEPLOYMENTS_READONLY = "https://www.googleapis.com/auth/script.deployments.readonly"
- View Google Apps Script deployments.
- SCRIPT_METRICS = "https://www.googleapis.com/auth/script.metrics"
- View Google Apps Script project's metrics.
- SCRIPT_PROCESSES = "https://www.googleapis.com/auth/script.processes"
- View Google Apps Script processes.
- SCRIPT_PROJECTS = "https://www.googleapis.com/auth/script.projects"
- Create and update Google Apps Script projects.
- SCRIPT_PROJECTS_READONLY = "https://www.googleapis.com/auth/script.projects.readonly"
- View Google Apps Script projects.
- SPREADSHEETS = "https://www.googleapis.com/auth/spreadsheets"
- See, edit, create, and delete your spreadsheets in Google Drive.
- USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email"
- View your email address.
- WWW_GOOGLE_COM_CALENDAR_FEEDS = "https://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 = "https://www.google.com/m8/feeds"
- See, edit, download, and permanently delete your contacts.
- $availableScopes : mixed
- $batchPath : mixed
- $processes : mixed
- $projects : mixed
- $projects_deployments : mixed
- $projects_versions : mixed
- $resource : mixed
- $rootUrl : mixed
- $scripts : mixed
- $servicePath : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the Script service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
ADMIN_DIRECTORY_GROUP
View and manage the provisioning of groups on your domain.
public
mixed
ADMIN_DIRECTORY_GROUP
= "https://www.googleapis.com/auth/admin.directory.group"
ADMIN_DIRECTORY_USER
View and manage the provisioning of users on your domain.
public
mixed
ADMIN_DIRECTORY_USER
= "https://www.googleapis.com/auth/admin.directory.user"
DOCUMENTS
View and manage your Google Docs documents.
public
mixed
DOCUMENTS
= "https://www.googleapis.com/auth/documents"
DRIVE
See, edit, create, and delete all of your Google Drive files.
public
mixed
DRIVE
= "https://www.googleapis.com/auth/drive"
FORMS
View and manage your forms in Google Drive.
public
mixed
FORMS
= "https://www.googleapis.com/auth/forms"
FORMS_CURRENTONLY
View and manage forms that this application has been installed in.
public
mixed
FORMS_CURRENTONLY
= "https://www.googleapis.com/auth/forms.currentonly"
GROUPS
View and manage your Google Groups.
public
mixed
GROUPS
= "https://www.googleapis.com/auth/groups"
MAIL_GOOGLE_COM
Read, compose, send, and permanently delete all your email from Gmail.
public
mixed
MAIL_GOOGLE_COM
= "https://mail.google.com/"
SCRIPT_DEPLOYMENTS
Create and update Google Apps Script deployments.
public
mixed
SCRIPT_DEPLOYMENTS
= "https://www.googleapis.com/auth/script.deployments"
SCRIPT_DEPLOYMENTS_READONLY
View Google Apps Script deployments.
public
mixed
SCRIPT_DEPLOYMENTS_READONLY
= "https://www.googleapis.com/auth/script.deployments.readonly"
SCRIPT_METRICS
View Google Apps Script project's metrics.
public
mixed
SCRIPT_METRICS
= "https://www.googleapis.com/auth/script.metrics"
SCRIPT_PROCESSES
View Google Apps Script processes.
public
mixed
SCRIPT_PROCESSES
= "https://www.googleapis.com/auth/script.processes"
SCRIPT_PROJECTS
Create and update Google Apps Script projects.
public
mixed
SCRIPT_PROJECTS
= "https://www.googleapis.com/auth/script.projects"
SCRIPT_PROJECTS_READONLY
View Google Apps Script projects.
public
mixed
SCRIPT_PROJECTS_READONLY
= "https://www.googleapis.com/auth/script.projects.readonly"
SPREADSHEETS
See, edit, create, and delete your spreadsheets in Google Drive.
public
mixed
SPREADSHEETS
= "https://www.googleapis.com/auth/spreadsheets"
USERINFO_EMAIL
View your email address.
public
mixed
USERINFO_EMAIL
= "https://www.googleapis.com/auth/userinfo.email"
WWW_GOOGLE_COM_CALENDAR_FEEDS
See, edit, share, and permanently delete all the calendars you can access using Google Calendar.
public
mixed
WWW_GOOGLE_COM_CALENDAR_FEEDS
= "https://www.google.com/calendar/feeds"
WWW_GOOGLE_COM_M8_FEEDS
See, edit, download, and permanently delete your contacts.
public
mixed
WWW_GOOGLE_COM_M8_FEEDS
= "https://www.google.com/m8/feeds"
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$processes
public
mixed
$processes
$projects
public
mixed
$projects
$projects_deployments
public
mixed
$projects_deployments
$projects_versions
public
mixed
$projects_versions
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$scripts
public
mixed
$scripts
$servicePath
public
mixed
$servicePath
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the Script service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client