Reference documentation and code samples for the Google Cloud Batch V1 Client class JobStatus.
Job status.
Generated from protobuf message google.cloud.batch.v1.JobStatus
Namespace
Google \ Cloud \ Batch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ state
int
Job state
↳ status_events
↳ task_groups
array| Google\Protobuf\Internal\MapField
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
↳ run_duration
getState
Job state
int
setState
Job state
var
int
$this
getStatusEvents
Job status events
setStatusEvents
Job status events
$this
getTaskGroups
Aggregated task status for each TaskGroup in the Job.
The map key is TaskGroup ID.
setTaskGroups
Aggregated task status for each TaskGroup in the Job.
The map key is TaskGroup ID.
$this
getRunDuration
The duration of time that the Job spent in status RUNNING.
hasRunDuration
clearRunDuration
setRunDuration
The duration of time that the Job spent in status RUNNING.
$this