Class: Google::Apis::ToolresultsV1beta3::ToolExitCode
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ToolExitCode
- 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
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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ToolExitCode
Returns a new instance of ToolExitCode
2670 2671 2672 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2670 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
2668 2669 2670 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2668 def number @number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2675 2676 2677 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2675 def update!(**args) @number = args[:number] if args.key?(:number) end |