Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProcessesListScriptProcessesOptions

import type { ProcessesListScriptProcessesOptions } from "https://googleapis.deno.dev/v1/script:v1.ts";

Additional options for Script#processesListScriptProcesses.

interface ProcessesListScriptProcessesOptions {
pageSize?: number;
pageToken?: string;
scriptId?: string;
[scriptProcessFilter.deploymentId]?: string;
[scriptProcessFilter.endTime]?: Date;
[scriptProcessFilter.functionName]?: string;
[scriptProcessFilter.startTime]?: Date;
[scriptProcessFilter.statuses]?:
| "PROCESS_STATUS_UNSPECIFIED"
| "RUNNING"
| "PAUSED"
| "COMPLETED"
| "CANCELED"
| "FAILED"
| "TIMED_OUT"
| "UNKNOWN"
| "DELAYED"
| "EXECUTION_DISABLED";
[scriptProcessFilter.types]?:
| "PROCESS_TYPE_UNSPECIFIED"
| "ADD_ON"
| "EXECUTION_API"
| "TIME_DRIVEN"
| "TRIGGER"
| "WEBAPP"
| "EDITOR"
| "SIMPLE_TRIGGER"
| "MENU"
| "BATCH_TASK";
[scriptProcessFilter.userAccessLevels]?:
| "USER_ACCESS_LEVEL_UNSPECIFIED"
| "NONE"
| "READ"
| "WRITE"
| "OWNER";
}

§Properties

§
pageSize?: number
[src]

The maximum number of returned processes per page of results. Defaults to 50.

§
pageToken?: string
[src]

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.

§
scriptId?: string
[src]

The script ID of the project whose processes are listed.

§
[scriptProcessFilter.deploymentId]?: string
[src]

Optional field used to limit returned processes to those originating from projects with a specific deployment ID.

§
[scriptProcessFilter.endTime]?: Date
[src]

Optional field used to limit returned processes to those that completed on or before the given timestamp.

§
[scriptProcessFilter.functionName]?: string
[src]

Optional field used to limit returned processes to those originating from a script function with the given function name.

§
[scriptProcessFilter.startTime]?: Date
[src]

Optional field used to limit returned processes to those that were started on or after the given timestamp.

§
[scriptProcessFilter.statuses]?: "PROCESS_STATUS_UNSPECIFIED" | "RUNNING" | "PAUSED" | "COMPLETED" | "CANCELED" | "FAILED" | "TIMED_OUT" | "UNKNOWN" | "DELAYED" | "EXECUTION_DISABLED"
[src]

Optional field used to limit returned processes to those having one of the specified process statuses.

§
[scriptProcessFilter.types]?: "PROCESS_TYPE_UNSPECIFIED" | "ADD_ON" | "EXECUTION_API" | "TIME_DRIVEN" | "TRIGGER" | "WEBAPP" | "EDITOR" | "SIMPLE_TRIGGER" | "MENU" | "BATCH_TASK"
[src]

Optional field used to limit returned processes to those having one of the specified process types.

§
[scriptProcessFilter.userAccessLevels]?: "USER_ACCESS_LEVEL_UNSPECIFIED" | "NONE" | "READ" | "WRITE" | "OWNER"
[src]

Optional field used to limit returned processes to those having one of the specified user access levels.