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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setWorkerName
Name of this worker
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getWorkItems
Work items processed by this worker, sorted by time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setWorkItems
Work items processed by this worker, sorted by time.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dataflow\V1beta3\WorkItemDetails>
|
Returns | |
---|---|
Type | Description |
$this |