Class: Google::Apis::GenomicsV2alpha1::ContainerStartedEvent
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::ContainerStartedEvent
- 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
An event generated when a container starts.
Instance Attribute Summary collapse
-
#action_id ⇒ Fixnum
The numeric ID of the action that started this container.
-
#ip_address ⇒ String
The public IP address that can be used to connect to the container.
-
#port_mappings ⇒ Hash<String,Fixnum>
The container-to-host port mappings installed for this container.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerStartedEvent
constructor
A new instance of ContainerStartedEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContainerStartedEvent
Returns a new instance of ContainerStartedEvent
393 394 395 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 393 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
376 377 378 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 376 def action_id @action_id end |
#ip_address ⇒ String
The public IP address that can be used to connect to the container. This
field is only populated when at least one port mapping is present. If the
instance was created with a private address, this field will be empty even
if port mappings exist.
Corresponds to the JSON property ipAddress
384 385 386 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 384 def ip_address @ip_address end |
#port_mappings ⇒ Hash<String,Fixnum>
The container-to-host port mappings installed for this container. This
set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS
flag
as well as any specified in the Action
definition.
Corresponds to the JSON property portMappings
391 392 393 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 391 def port_mappings @port_mappings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
398 399 400 401 402 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 398 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @ip_address = args[:ip_address] if args.key?(:ip_address) @port_mappings = args[:port_mappings] if args.key?(:port_mappings) end |