Class: Google::Apis::ToolresultsV1beta3::ToolExitCode
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ToolExitCode
- 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
Exit code from a tool execution.
Instance Attribute Summary collapse
-
#number ⇒ Fixnum
Tool execution exit code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ToolExitCode
constructor
A new instance of ToolExitCode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ToolExitCode
Returns a new instance of ToolExitCode.
3653 3654 3655 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3653 def initialize(**args) update!(**args) end |
Instance Attribute Details
#number ⇒ Fixnum
Tool execution exit code. A value of 0 means that the execution was successful.
- In response: always set - In create/update request: always set
Corresponds to the JSON property
number
3651 3652 3653 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3651 def number @number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3658 3659 3660 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3658 def update!(**args) @number = args[:number] if args.key?(:number) end |