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

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

§
duration?: number
[src]

Duration the execution spent executing.

§
functionName?: string
[src]

Name of the function the started the execution.

§
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.

§
projectName?: string
[src]

Name of the script being executed.

§
runtimeVersion?: "RUNTIME_VERSION_UNSPECIFIED" | "DEPRECATED_ES5" | "V8"
[src]

Which version of maestro to use to execute the script.

§
startTime?: Date
[src]

Time the execution started.

§
userAccessLevel?: "USER_ACCESS_LEVEL_UNSPECIFIED" | "NONE" | "READ" | "WRITE" | "OWNER"
[src]

The executing users access level to the script.