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



2651
2652
2653
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2651

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



2649
2650
2651
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2649

def tool_execution
  @tool_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2656
2657
2658
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2656

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