Class: Google::Apis::LifesciencesV2beta::UnexpectedExitStatusEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/lifesciences_v2beta/classes.rb,
generated/google/apis/lifesciences_v2beta/representations.rb,
generated/google/apis/lifesciences_v2beta/representations.rb

Overview

An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as ALWAYS_RUN will be executed. Other actions will be skipped.

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) ⇒ UnexpectedExitStatusEvent

Returns a new instance of UnexpectedExitStatusEvent.



1138
1139
1140
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1138

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

Instance Attribute Details

#action_idFixnum

The numeric ID of the action that started the container. Corresponds to the JSON property actionId

Returns:

  • (Fixnum)


1131
1132
1133
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1131

def action_id
  @action_id
end

#exit_statusFixnum

The exit status of the container. Corresponds to the JSON property exitStatus

Returns:

  • (Fixnum)


1136
1137
1138
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1136

def exit_status
  @exit_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1143
1144
1145
1146
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1143

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