google_api_script v0.3.0 GoogleApi.Script.V1.Model.GoogleAppsScriptTypeProcess View Source

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.

Attributes

  • duration (String.t): Duration the execution spent executing. Defaults to: null.
  • executingUser (String.t): User-facing name for the user executing the script. Defaults to: null.
  • functionName (String.t): Name of the function the started the execution. Defaults to: null.
  • processStatus (String.t): The executions status. Defaults to: null.

    • Enum - one of [PROCESS_STATUS_UNSPECIFIED, RUNNING, PAUSED, COMPLETED, CANCELED, FAILED, TIMED_OUT, UNKNOWN, DELAYED]
  • processType (String.t): The executions type. Defaults to: null.

    • Enum - one of [PROCESS_TYPE_UNSPECIFIED, ADD_ON, EXECUTION_API, TIME_DRIVEN, TRIGGER, WEBAPP, EDITOR, SIMPLE_TRIGGER, MENU, BATCH_TASK]
  • projectName (String.t): Name of the script being executed. Defaults to: null.
  • startTime (DateTime.t): Time the execution started. Defaults to: null.
  • userAccessLevel (String.t): The executing users access level to the script. Defaults to: null.

    • Enum - one of [USER_ACCESS_LEVEL_UNSPECIFIED, NONE, READ, WRITE, OWNER]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Script.V1.Model.GoogleAppsScriptTypeProcess{
  duration: any(),
  executingUser: any(),
  functionName: any(),
  processStatus: any(),
  processType: any(),
  projectName: any(),
  startTime: DateTime.t(),
  userAccessLevel: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.