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.
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;
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;
var
array|Google\Protobuf\Internal\MapField
$this
getInstances
Status of instances allocated for the TaskGroup.
Generated from protobuf field repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
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;
$this