Class: Google::Apis::GenomicsV1alpha2::ContainerStoppedEvent

Inherits:
Object
  • Object
show all
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

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



137
138
139
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 137

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)


119
120
121
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 119

def action_id
  @action_id
end

#exit_statusFixnum

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

Returns:

  • (Fixnum)


124
125
126
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 124

def exit_status
  @exit_status
end

#stderrString

The tail end of any content written to standard error by the container. To prevent this from being recorded if the action is known to emit large amounts of debugging noise or sensitive information, set 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 may be copied off the machine as described elsewhere. Corresponds to the JSON property stderr

Returns:

  • (String)


135
136
137
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 135

def stderr
  @stderr
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



142
143
144
145
146
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 142

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