Reference documentation and code samples for the Google Cloud Batch V1 Client class TaskGroupStatus.
Aggregated task status for a TaskGroup.
Generated from protobuf message google.cloud.batch.v1.JobStatus.TaskGroupStatus
Namespace
Google \ Cloud \ Batch \ V1 \ JobStatusMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ counts |
array|Google\Protobuf\Internal\MapField
Count of task in each state in the TaskGroup. The map key is task state name. |
↳ instances |
array<Google\Cloud\Batch\V1\JobStatus\InstanceStatus>
Status of instances allocated for the TaskGroup. |
getCounts
Count of task in each state in the TaskGroup.
The map key is task state name.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setCounts
Count of task in each state in the TaskGroup.
The map key is task state name.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getInstances
Status of instances allocated for the TaskGroup.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInstances
Status of instances allocated for the TaskGroup.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Batch\V1\JobStatus\InstanceStatus>
|
Returns | |
---|---|
Type | Description |
$this |