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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ToolExecutionStep

Returns a new instance of ToolExecutionStep



2049
2050
2051
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2049

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



2047
2048
2049
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2047

def tool_execution
  @tool_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2054
2055
2056
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2054

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