Class: Google::Apis::GenomicsV1alpha2::ContainerStoppedEvent
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::ContainerStoppedEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1alpha2/classes.rb,
generated/google/apis/genomics_v1alpha2/representations.rb,
generated/google/apis/genomics_v1alpha2/representations.rb
Overview
This event is generated when a container exits.
Instance Attribute Summary collapse
-
#action_id ⇒ Fixnum
The numeric ID of the action that started this container.
-
#exit_status ⇒ Fixnum
The exit status of the container.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerStoppedEvent
constructor
A new instance of ContainerStoppedEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContainerStoppedEvent
Returns a new instance of ContainerStoppedEvent
126 127 128 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_id ⇒ Fixnum
The numeric ID of the action that started this container.
Corresponds to the JSON property actionId
119 120 121 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 119 def action_id @action_id end |
#exit_status ⇒ Fixnum
The exit status of the container.
Corresponds to the JSON property exitStatus
124 125 126 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 124 def exit_status @exit_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
131 132 133 134 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 131 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @exit_status = args[:exit_status] if args.key?(:exit_status) end |