Class: Google::Apis::ToolresultsV1beta3::RoboScriptExecution
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::RoboScriptExecution
- 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
-
#successful_actions ⇒ Fixnum
The number of Robo script actions executed successfully.
-
#total_actions ⇒ Fixnum
The total number of actions in the Robo script.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoboScriptExecution
constructor
A new instance of RoboScriptExecution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoboScriptExecution
Returns a new instance of RoboScriptExecution.
2439 2440 2441 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#successful_actions ⇒ Fixnum
The number of Robo script actions executed successfully.
Corresponds to the JSON property successfulActions
2432 2433 2434 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2432 def successful_actions @successful_actions end |
#total_actions ⇒ Fixnum
The total number of actions in the Robo script.
Corresponds to the JSON property totalActions
2437 2438 2439 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2437 def total_actions @total_actions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2444 2445 2446 2447 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2444 def update!(**args) @successful_actions = args[:successful_actions] if args.key?(:successful_actions) @total_actions = args[:total_actions] if args.key?(:total_actions) end |