script.v1 library Null safety

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.
ExecuteStreamResponse
The response for executing or debugging a function in an Apps Script project.
ExecutionError
An object that provides information about the nature of an error resulting from an attempted execution of a script function using the Apps Script API. [...]
ExecutionRequest
A request to run the function in a script. [...]
ExecutionResponse
An object that provides the return value of a function executed using the Apps Script API. [...]
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.
ListValue
ListValue is a wrapper around a repeated field of values.
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.
ScriptExecutionResult
The result of an execution.
ScriptsResource
ScriptStackTraceElement
A stack trace through the script that shows where the execution failed.
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.
Struct
Struct represents a structured data value, consisting of fields which map to dynamically typed values.
UpdateDeploymentRequest
Request with deployment information to update an existing deployment.
Value
Value represents a dynamically typed value which is the outcome of an executed script.
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.