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.



3620
3621
3622
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3620

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



3618
3619
3620
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3618

def tool_execution
  @tool_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3625
3626
3627
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3625

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