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

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

An event generated after a worker VM has been assigned to run the pipeline.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ zone string

The zone the worker is running in.

↳ instance string

The worker's instance name.

↳ machine_type string

The machine type that was assigned for the worker.

getZone

The zone the worker is running in.

Returns
TypeDescription
string

setZone

The zone the worker is running in.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

The worker's instance name.

Returns
TypeDescription
string

setInstance

The worker's instance name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMachineType

The machine type that was assigned for the worker.

Returns
TypeDescription
string

setMachineType

The machine type that was assigned for the worker.

Parameter
NameDescription
var string
Returns
TypeDescription
$this