Class: Google::Apis::ToolresultsV1beta3::RoboScriptExecution

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb

Overview

Execution stats for a user-provided Robo script.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoboScriptExecution

Returns a new instance of RoboScriptExecution.



2466
2467
2468
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2466

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#successful_actionsFixnum

The number of Robo script actions executed successfully. Corresponds to the JSON property successfulActions

Returns:

  • (Fixnum)


2459
2460
2461
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2459

def successful_actions
  @successful_actions
end

#total_actionsFixnum

The total number of actions in the Robo script. Corresponds to the JSON property totalActions

Returns:

  • (Fixnum)


2464
2465
2466
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2464

def total_actions
  @total_actions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2471
2472
2473
2474
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2471

def update!(**args)
  @successful_actions = args[:successful_actions] if args.key?(:successful_actions)
  @total_actions = args[:total_actions] if args.key?(:total_actions)
end