Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::JobStatus.
Job status.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#run_duration
def run_duration() -> ::Google::Protobuf::Duration Returns 
 - (::Google::Protobuf::Duration) — The duration of time that the Job spent in status RUNNING.
 
#run_duration=
def run_duration=(value) -> ::Google::Protobuf::Duration Parameter 
 - value (::Google::Protobuf::Duration) — The duration of time that the Job spent in status RUNNING.
 
 Returns 
 - (::Google::Protobuf::Duration) — The duration of time that the Job spent in status RUNNING.
 
#state
def state() -> ::Google::Cloud::Batch::V1::JobStatus::State Returns 
 - (::Google::Cloud::Batch::V1::JobStatus::State) — Job state
 
#state=
def state=(value) -> ::Google::Cloud::Batch::V1::JobStatus::State Parameter 
 - value (::Google::Cloud::Batch::V1::JobStatus::State) — Job state
 
 Returns 
 - (::Google::Cloud::Batch::V1::JobStatus::State) — Job state
 
#status_events
def status_events() -> ::Array<::Google::Cloud::Batch::V1::StatusEvent> Returns 
 - (::Array<::Google::Cloud::Batch::V1::StatusEvent>) — Job status events
 
#status_events=
def status_events=(value) -> ::Array<::Google::Cloud::Batch::V1::StatusEvent> Parameter 
 - value (::Array<::Google::Cloud::Batch::V1::StatusEvent>) — Job status events
 
 Returns 
 - (::Array<::Google::Cloud::Batch::V1::StatusEvent>) — Job status events
 
#task_groups
def task_groups() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Batch::V1::JobStatus::TaskGroupStatus} Returns 
 - (::Google::Protobuf::Map{::String => ::Google::Cloud::Batch::V1::JobStatus::TaskGroupStatus}) — Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
 
#task_groups=
def task_groups=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Batch::V1::JobStatus::TaskGroupStatus} Parameter 
 - value (::Google::Protobuf::Map{::String => ::Google::Cloud::Batch::V1::JobStatus::TaskGroupStatus}) — Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
 
 Returns 
 - (::Google::Protobuf::Map{::String => ::Google::Cloud::Batch::V1::JobStatus::TaskGroupStatus}) — Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.