script/v1 library

Apps Script API - v1

Manages and executes Google Apps Script projects.

For more information, see developers.google.com/apps-script/api/

Create an instance of ScriptApi to access these resources:

Classes

Content
The Content resource.
CreateProjectRequest
Request to create a script project.
Deployment
Representation of a single script deployment.
DeploymentConfig
Metadata the defines how a deployment is configured.
EntryPoint
A configuration that defines how a deployment is accessed externally.
ExecutionRequest
A request to run the function in a script.
File
An individual file within a script project.
GoogleAppsScriptTypeAddOnEntryPoint
An add-on entry point.
GoogleAppsScriptTypeExecutionApiConfig
API executable entry point configuration.
GoogleAppsScriptTypeExecutionApiEntryPoint
An API executable entry point.
GoogleAppsScriptTypeFunction
Represents a function in a script project.
GoogleAppsScriptTypeFunctionSet
A set of functions.
GoogleAppsScriptTypeProcess
Representation of a single script process execution that was started from the script editor, a trigger, an application, or using the Apps Script API.
GoogleAppsScriptTypeUser
A simple user profile resource.
GoogleAppsScriptTypeWebAppConfig
Web app entry point configuration.
GoogleAppsScriptTypeWebAppEntryPoint
A web application entry point.
ListDeploymentsResponse
Response with the list of deployments for the specified Apps Script project.
ListScriptProcessesResponse
Response with the list of Process resources.
ListUserProcessesResponse
Response with the list of Process resources.
ListVersionsResponse
Response with the list of the versions for the specified script project.
Metrics
Resource containing usage stats for a given script, based on the supplied filter and mask present in the request.
MetricsValue
Metrics value that holds number of executions counted.
Operation
A representation of an execution of an Apps Script function started with run.
ProcessesResource
Project
The script project resource.
ProjectsDeploymentsResource
ProjectsResource
ProjectsVersionsResource
ScriptApi
Manages and executes Google Apps Script projects.
ScriptsResource
Status
If a run call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field contains this Status object.
UpdateDeploymentRequest
Request with deployment information to update an existing deployment.
Version
A resource representing a script project version.

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.