Class: Google::Apis::ToolresultsV1beta3::ToolExecution
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ToolExecution
- 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
An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code.
Instance Attribute Summary collapse
-
#command_line_arguments ⇒ Array<String>
The full tokenized command line including the program name (equivalent to argv in a C program).
-
#exit_code ⇒ Google::Apis::ToolresultsV1beta3::ToolExitCode
Exit code from a tool execution.
-
#tool_logs ⇒ Array<Google::Apis::ToolresultsV1beta3::FileReference>
References to any plain text logs output the tool execution.
-
#tool_outputs ⇒ Array<Google::Apis::ToolresultsV1beta3::ToolOutputReference>
References to opaque files of any format output by the tool execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ToolExecution
constructor
A new instance of ToolExecution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ToolExecution
Returns a new instance of ToolExecution.
3335 3336 3337 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#command_line_arguments ⇒ Array<String>
The full tokenized command line including the program name (equivalent to argv in a C program).
- In response: present if set by create request - In create request: optional -
In update request: never set
Corresponds to the JSON property
commandLineArguments
3308 3309 3310 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3308 def command_line_arguments @command_line_arguments end |
#exit_code ⇒ Google::Apis::ToolresultsV1beta3::ToolExitCode
Exit code from a tool execution.
Corresponds to the JSON property exitCode
3313 3314 3315 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3313 def exit_code @exit_code end |
#tool_logs ⇒ Array<Google::Apis::ToolresultsV1beta3::FileReference>
References to any plain text logs output the tool execution. This field can be set before the tool has exited in order to be able to have access to a live view of the logs while the tool is running. The maximum allowed number of tool logs per step is 1000.
- In response: present if set by create/update request - In create request:
optional - In update request: optional, any value provided will be appended to
the existing list
Corresponds to the JSON property
toolLogs
3324 3325 3326 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3324 def tool_logs @tool_logs end |
#tool_outputs ⇒ Array<Google::Apis::ToolresultsV1beta3::ToolOutputReference>
References to opaque files of any format output by the tool execution. The maximum allowed number of tool outputs per step is 1000.
- In response: present if set by create/update request - In create request:
optional - In update request: optional, any value provided will be appended to
the existing list
Corresponds to the JSON property
toolOutputs
3333 3334 3335 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3333 def tool_outputs @tool_outputs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3340 3341 3342 3343 3344 3345 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3340 def update!(**args) @command_line_arguments = args[:command_line_arguments] if args.key?(:command_line_arguments) @exit_code = args[:exit_code] if args.key?(:exit_code) @tool_logs = args[:tool_logs] if args.key?(:tool_logs) @tool_outputs = args[:tool_outputs] if args.key?(:tool_outputs) end |