Stay organized with collections Save and categorize content based on your preferences.
Resource: ProcessRepresentation of a single script process execution that was started from the script editor, a trigger, an application, or using the Apps Script API. This is distinct from the
resource, which only represents executions started via the Apps Script API.Operation
{ "projectName": string, "functionName": string, "processType": enum (FieldsProcessType
), "processStatus": enum (ProcessStatus
), "userAccessLevel": enum (UserAccessLevel
), "startTime": string, "duration": string }
projectName
string
Name of the script being executed.
functionName
string
Name of the function the started the execution.
processType
enum (
ProcessType
)
The executions type.
processStatus
enum (
ProcessStatus
)
The executions status.
userAccessLevel
enum (
UserAccessLevel
)
The executing users access level to the script.
startTime
string (
Timestamp
format)
Time the execution started.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z"
and "2014-10-02T15:01:23.045123456Z"
.
duration
string (
Duration
format)
Duration the execution spent executing.
A duration in seconds with up to nine fractional digits, ending with 's
'. Example: "3.5s"
.
The type of process, which defines how the process was started.
EnumsPROCESS_TYPE_UNSPECIFIED
Unspecified type. ADD_ON
The process was started from an add-on entry point. EXECUTION_API
The process was started using the Apps Script API. TIME_DRIVEN
The process was started from a time-based trigger. TRIGGER
The process was started from an event-based trigger. WEBAPP
The process was started from a web app entry point. EDITOR
The process was started using the Apps Script IDE. SIMPLE_TRIGGER
The process was started from a G Suite simple trigger. BATCH_TASK
The process was started as a task in a batch job. ProcessStatus
The process status.
EnumsPROCESS_STATUS_UNSPECIFIED
Unspecified status. RUNNING
The process is currently running. PAUSED
The process has paused. COMPLETED
The process has completed. CANCELED
The process was cancelled. FAILED
The process failed. TIMED_OUT
The process timed out. UNKNOWN
Process status unknown. DELAYED
The process is delayed, waiting for quota. UserAccessLevel
The various user access levels.
EnumsUSER_ACCESS_LEVEL_UNSPECIFIED
User access level unspecified NONE
The user has no access. READ
The user has read-only access. WRITE
The user has write access. OWNER
The user is an owner. Methods list
List information about processes made by or on behalf of a user, such as process type and current status. listScriptProcesses
List information about a script's executed processes, such as process type and current status.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["The `Process` resource represents a single script execution initiated from various sources like the script editor, triggers, applications, or the Apps Script API."],["`Process` details include project and function names, execution type, status, user access level, start time, and duration."],["`ProcessType` identifies how the process was started (e.g., add-on, API, trigger, web app)."],["`ProcessStatus` indicates the current state of the execution (e.g., running, paused, completed, failed)."],["Developers can programmatically list processes using methods like `list` and `listScriptProcesses` to gain insights into executions."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4