GoogleAppsScriptTypeProcess
import type { GoogleAppsScriptTypeProcess } from "https://googleapis.deno.dev/v1/script:v1.ts";
Representation 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 Operation
resource, which only represents
executions started via the Apps Script API.
interface GoogleAppsScriptTypeProcess {
duration?: number;
functionName?: string;
processStatus?:
| "PROCESS_STATUS_UNSPECIFIED"
| "RUNNING"
| "PAUSED"
| "COMPLETED"
| "CANCELED"
| "FAILED"
| "TIMED_OUT"
| "UNKNOWN"
| "DELAYED"
| "EXECUTION_DISABLED";
processType?:
| "PROCESS_TYPE_UNSPECIFIED"
| "ADD_ON"
| "EXECUTION_API"
| "TIME_DRIVEN"
| "TRIGGER"
| "WEBAPP"
| "EDITOR"
| "SIMPLE_TRIGGER"
| "MENU"
| "BATCH_TASK";
projectName?: string;
runtimeVersion?: "RUNTIME_VERSION_UNSPECIFIED" | "DEPRECATED_ES5" | "V8";
startTime?: Date;
userAccessLevel?:
} | "USER_ACCESS_LEVEL_UNSPECIFIED"
| "NONE"
| "READ"
| "WRITE"
| "OWNER";
§Properties
§
processStatus?: "PROCESS_STATUS_UNSPECIFIED" | "RUNNING" | "PAUSED" | "COMPLETED" | "CANCELED" | "FAILED" | "TIMED_OUT" | "UNKNOWN" | "DELAYED" | "EXECUTION_DISABLED"
[src]The executions status.
§
processType?: "PROCESS_TYPE_UNSPECIFIED" | "ADD_ON" | "EXECUTION_API" | "TIME_DRIVEN" | "TRIGGER" | "WEBAPP" | "EDITOR" | "SIMPLE_TRIGGER" | "MENU" | "BATCH_TASK"
[src]The executions type.