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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ action_id int

The numeric ID of the action that started this container.

↳ port_mappings array|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_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.

getActionId

The numeric ID of the action that started this container.

Returns
Type Description
int

setActionId

The numeric ID of the action that started this container.

Parameter
Name Description
var int
Returns
Type Description
$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
Type Description
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
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this