Google Cloud Dataflow V1beta3 Client - Class WorkerDetails (0.3.10)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class WorkerDetails.

Information about a worker

Generated from protobuf message google.dataflow.v1beta3.WorkerDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ worker_name string

Name of this worker

↳ work_items array<Google\Cloud\Dataflow\V1beta3\WorkItemDetails>

Work items processed by this worker, sorted by time.

getWorkerName

Name of this worker

Returns
TypeDescription
string

setWorkerName

Name of this worker

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWorkItems

Work items processed by this worker, sorted by time.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWorkItems

Work items processed by this worker, sorted by time.

Parameter
NameDescription
var array<Google\Cloud\Dataflow\V1beta3\WorkItemDetails>
Returns
TypeDescription
$this