class Google::Apis::ScriptV1::GoogleAppsScriptTypeProcess

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[RW]

Duration the execution spent executing. Corresponds to the JSON property `duration` @return [String]

function_name[RW]

Name of the function the started the execution. Corresponds to the JSON property `functionName` @return [String]

process_status[RW]

The executions status. Corresponds to the JSON property `processStatus` @return [String]

process_type[RW]

The executions type. Corresponds to the JSON property `processType` @return [String]

project_name[RW]

Name of the script being executed. Corresponds to the JSON property `projectName` @return [String]

start_time[RW]

Time the execution started. Corresponds to the JSON property `startTime` @return [String]

user_access_level[RW]

The executing users access level to the script. Corresponds to the JSON property `userAccessLevel` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/script_v1/classes.rb, line 573
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/script_v1/classes.rb, line 578
def update!(**args)
  @duration = args[:duration] if args.key?(:duration)
  @function_name = args[:function_name] if args.key?(:function_name)
  @process_status = args[:process_status] if args.key?(:process_status)
  @process_type = args[:process_type] if args.key?(:process_type)
  @project_name = args[:project_name] if args.key?(:project_name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @user_access_level = args[:user_access_level] if args.key?(:user_access_level)
end