Class: Google::Apis::ScriptV1::GoogleAppsScriptTypeProcess
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ScriptV1::GoogleAppsScriptTypeProcess
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/script_v1/classes.rb,
 generated/google/apis/script_v1/representations.rb,
 generated/google/apis/script_v1/representations.rb
Overview
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 exeuctions started via the Apps Script API.
Instance Attribute Summary collapse
- 
  
    
      #duration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Duration the execution spent executing. 
- 
  
    
      #executing_user  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User-facing name for the user executing the script. 
- 
  
    
      #function_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the function the started the execution. 
- 
  
    
      #process_status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The executions status. 
- 
  
    
      #process_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The executions type. 
- 
  
    
      #project_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the script being executed. 
- 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Time the execution started. 
- 
  
    
      #user_access_level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The executing users access level to the script. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleAppsScriptTypeProcess 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleAppsScriptTypeProcess. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleAppsScriptTypeProcess
Returns a new instance of GoogleAppsScriptTypeProcess
| 581 582 583 | # File 'generated/google/apis/script_v1/classes.rb', line 581 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#duration ⇒ String
Duration the execution spent executing.
Corresponds to the JSON property duration
| 544 545 546 | # File 'generated/google/apis/script_v1/classes.rb', line 544 def duration @duration end | 
#executing_user ⇒ String
User-facing name for the user executing the script.
Corresponds to the JSON property executingUser
| 549 550 551 | # File 'generated/google/apis/script_v1/classes.rb', line 549 def executing_user @executing_user end | 
#function_name ⇒ String
Name of the function the started the execution.
Corresponds to the JSON property functionName
| 554 555 556 | # File 'generated/google/apis/script_v1/classes.rb', line 554 def function_name @function_name end | 
#process_status ⇒ String
The executions status.
Corresponds to the JSON property processStatus
| 559 560 561 | # File 'generated/google/apis/script_v1/classes.rb', line 559 def process_status @process_status end | 
#process_type ⇒ String
The executions type.
Corresponds to the JSON property processType
| 564 565 566 | # File 'generated/google/apis/script_v1/classes.rb', line 564 def process_type @process_type end | 
#project_name ⇒ String
Name of the script being executed.
Corresponds to the JSON property projectName
| 569 570 571 | # File 'generated/google/apis/script_v1/classes.rb', line 569 def project_name @project_name end | 
#start_time ⇒ String
Time the execution started.
Corresponds to the JSON property startTime
| 574 575 576 | # File 'generated/google/apis/script_v1/classes.rb', line 574 def start_time @start_time end | 
#user_access_level ⇒ String
The executing users access level to the script.
Corresponds to the JSON property userAccessLevel
| 579 580 581 | # File 'generated/google/apis/script_v1/classes.rb', line 579 def user_access_level @user_access_level end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 586 587 588 589 590 591 592 593 594 595 | # File 'generated/google/apis/script_v1/classes.rb', line 586 def update!(**args) @duration = args[:duration] if args.key?(:duration) @executing_user = args[:executing_user] if args.key?(:executing_user) @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 |