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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/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.



3593
3594
3595
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3593

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



3591
3592
3593
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3591

def tool_execution
  @tool_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3598
3599
3600
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3598

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