Class: Google::Apis::GenomicsV2alpha1::ContainerStoppedEvent

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

Overview

An event generated when a container exits.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContainerStoppedEvent

Returns a new instance of ContainerStoppedEvent.



411
412
413
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 411

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

Instance Attribute Details

#action_idFixnum

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

Returns:

  • (Fixnum)


393
394
395
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 393

def action_id
  @action_id
end

#exit_statusFixnum

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

Returns:

  • (Fixnum)


398
399
400
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 398

def exit_status
  @exit_status
end

#stderrString

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

Returns:

  • (String)


409
410
411
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 409

def stderr
  @stderr
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



416
417
418
419
420
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 416

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