script.processes.list
GET List information about processes made by or on behalf of a user, such as process type and current status.
| Parameter | Type | Required | Repeated | Location | Description | Enum values |
|---|---|---|---|---|---|---|
pageSize | integer | — | — | query | The maximum number of returned processes per page of results. Defaults to 50. | — |
pageToken | string | — | — | query | 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. | — |
userProcessFilter.deploymentId | string | — | — | query | Optional field used to limit returned processes to those originating from projects with a specific deployment ID. | — |
userProcessFilter.endTime | string | — | — | query | Optional field used to limit returned processes to those that completed on or before the given timestamp. | — |
userProcessFilter.functionName | string | — | — | query | Optional field used to limit returned processes to those originating from a script function with the given function name. | — |
userProcessFilter.projectName | string | — | — | query | Optional field used to limit returned processes to those originating from projects with project names containing a specific string. | — |
userProcessFilter.scriptId | string | — | — | query | Optional field used to limit returned processes to those originating from projects with a specific script ID. | — |
userProcessFilter.startTime | string | — | — | query | Optional field used to limit returned processes to those that were started on or after the given timestamp. | — |
userProcessFilter.statuses | string | — | yes | query | Optional field used to limit returned processes to those having one of the specified process statuses. | PROCESS_STATUS_UNSPECIFIED · RUNNING · PAUSED · COMPLETED · CANCELED · FAILED · TIMED_OUT · UNKNOWN · DELAYED · EXECUTION_DISABLED |
userProcessFilter.types | string | — | yes | query | Optional field used to limit returned processes to those having one of the specified process types. | PROCESS_TYPE_UNSPECIFIED · ADD_ON · EXECUTION_API · TIME_DRIVEN · TRIGGER · WEBAPP · EDITOR · SIMPLE_TRIGGER · MENU · BATCH_TASK |
userProcessFilter.userAccessLevels | string | — | yes | query | Optional field used to limit returned processes to those having one of the specified user access levels. | USER_ACCESS_LEVEL_UNSPECIFIED · NONE · READ · WRITE · OWNER |
https://www.googleapis.com/auth/script.processes least privilege 1 scope
https://www.googleapis.com/auth/script.processes
grr script processes list