Class: Google::Apis::ToolresultsV1beta3::ToolExitCode

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

Exit code from a tool execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ToolExitCode

Returns a new instance of ToolExitCode.



3613
3614
3615
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3613

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#numberFixnum

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

Returns:

  • (Fixnum)


3611
3612
3613
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3611

def number
  @number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3618
3619
3620
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3618

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