Class: Google::Apis::LifesciencesV2beta::ContainerStoppedEvent
- Inherits:
-
Object
- Object
- Google::Apis::LifesciencesV2beta::ContainerStoppedEvent
- 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 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.
-
#stderr ⇒ String
The tail end of any content written to standard error by 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
356 357 358 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 356 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
338 339 340 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 338 def action_id @action_id end |
#exit_status ⇒ Fixnum
The exit status of the container.
Corresponds to the JSON property exitStatus
343 344 345 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 343 def exit_status @exit_status end |
#stderr ⇒ String
The tail end of any content written to standard error by the container.
If the content emits large amounts of debugging noise or contains
sensitive information, you can prevent the content from being printed by
setting the DISABLE_STANDARD_ERROR_CAPTURE
flag.
Note that only a small amount of the end of the stream is captured here.
The entire stream is stored in the /google/logs
directory mounted into
each action, and can be copied off the machine as described elsewhere.
Corresponds to the JSON property stderr
354 355 356 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 354 def stderr @stderr end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
361 362 363 364 365 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 361 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @exit_status = args[:exit_status] if args.key?(:exit_status) @stderr = args[:stderr] if args.key?(:stderr) end |