Stay organized with collections Save and categorize content based on your preferences.
List information about a script's executed processes, such as process type and current status.
HTTP requestGET https://script.googleapis.com/v1/processes:listScriptProcesses
The URL uses gRPC Transcoding syntax.
Query parameters ParametersscriptId
string
The script ID of the project whose processes are listed.
scriptProcessFilter
object (
ListScriptProcessesFilter
)
A filter used to limit the list results; only processes matching the filter criteria are returned.
pageSize
integer
The maximum number of returned processes per page of results. Defaults to 50.
pageToken
string
The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken
from a previous response.
The request body must be empty.
Response bodyIf successful, the response body contains data with the following structure:
Response with the list of Process
resources.
{
"processes": [
{
object (Process
)
}
],
"nextPageToken": string
}
Fields processes[]
object (
Process
)
List of processes matching request parameters.
nextPageToken
string
Token for the next page of results. If empty, there are no more pages remaining.
Requires the following OAuth scope:
https://www.googleapis.com/auth/script.processes
For more information, see the OAuth 2.0 Overview.
ListScriptProcessesFilterFilter used to further specify which processes to list. Only processes that match all the specified conditions are returned.
JSON representation{ "deploymentId": string, "functionName": string, "startTime": string, "endTime": string, "types": [ enum (FieldsProcessType
) ], "statuses": [ enum (ProcessStatus
) ], "userAccessLevels": [ enum (UserAccessLevel
) ] }
deploymentId
string
Optional field used to limit returned processes to those originating from projects with a specific deployment ID.
functionName
string
Optional field used to limit returned processes to those originating from a script function with the given function name.
startTime
string (
Timestamp
format)
Optional field used to limit returned processes to those that were started on or after the given timestamp.
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"
.
endTime
string (
Timestamp
format)
Optional field used to limit returned processes to those that completed on or before the given timestamp.
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"
.
types[]
enum (
ProcessType
)
Optional field used to limit returned processes to those having one of the specified process types.
statuses[]
enum (
ProcessStatus
)
Optional field used to limit returned processes to those having one of the specified process statuses.
userAccessLevels[]
enum (
UserAccessLevel
)
Optional field used to limit returned processes to those having one of the specified user access levels.
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."],[[["Lists information on script-executed processes, including process type and status, using the `processes:listScriptProcesses` method."],["Allows filtering of listed processes based on criteria like deployment ID, function name, timestamps, process types, statuses, and user access levels."],["Requires authorization with the `https://www.googleapis.com/auth/script.processes` scope."],["Returns a paginated list of `Process` resources with details of each process and a token for retrieving subsequent pages."],["Employs a `GET` request to the `https://script.googleapis.com/v1/processes:listScriptProcesses` endpoint with optional query parameters for filtering and pagination."]]],[]]
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