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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setActionId

The numeric ID of the action that started this container.

Parameter
NameDescription
var int
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
var array|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
var string
Returns
TypeDescription
$this