Class: Google::Apis::ToolresultsV1beta3::ToolExecutionStep

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

Generic tool step to be used for binaries we do not explicitly support. For example: running cp to copy artifacts from one location to another.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ToolExecutionStep

Returns a new instance of ToolExecutionStep.



3633
3634
3635
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3633

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

Instance Attribute Details

#tool_executionGoogle::Apis::ToolresultsV1beta3::ToolExecution

An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code. Corresponds to the JSON property toolExecution



3631
3632
3633
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3631

def tool_execution
  @tool_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3638
3639
3640
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3638

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