Google Cloud Life Sciences V2beta Client - Class ContainerStartedEvent (0.7.2)

Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class ContainerStartedEvent.

An event generated when a container starts.

Generated from protobuf message google.cloud.lifesciences.v2beta.ContainerStartedEvent

Namespace

Google \ Cloud \ LifeSciences \ V2beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ action_idint

The numeric ID of the action that started this container.

↳ port_mappingsarray|Google\Protobuf\Internal\MapField

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.

↳ ip_addressstring

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.

getActionId

The numeric ID of the action that started this container.

Returns
TypeDescription
int

setActionId

The numeric ID of the action that started this container.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getPortMappings

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.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setPortMappings

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.

Parameter
NameDescription
vararray|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getIpAddress

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.

Returns
TypeDescription
string

setIpAddress

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.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this