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
Methods
__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.
Generated from protobuf field map<string, int64> counts = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setCounts
Count of task in each state in the TaskGroup.
The map key is task state name.
Generated from protobuf field map<string, int64> counts = 1;
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getInstances
Status of instances allocated for the TaskGroup.
Generated from protobuf field repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInstances
Status of instances allocated for the TaskGroup.
Generated from protobuf field repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Batch\V1\JobStatus\InstanceStatus>
|
Returns | |
---|---|
Type | Description |
$this |