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

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

Overview

This event is generated when a container exits.

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

Returns a new instance of ContainerStoppedEvent



345
346
347
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 345

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)


338
339
340
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 338

def action_id
  @action_id
end

#exit_statusFixnum

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

Returns:

  • (Fixnum)


343
344
345
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 343

def exit_status
  @exit_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



350
351
352
353
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 350

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