Batch V1 API - Class Google::Cloud::Batch::V1::JobStatus (v0.12.0)

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

#run_duration=

def run_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#state

def state() -> ::Google::Cloud::Batch::V1::JobStatus::State

#state=

def state=(value) -> ::Google::Cloud::Batch::V1::JobStatus::State
Parameter

#status_events

def status_events() -> ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Returns

#status_events=

def status_events=(value) -> ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Parameter
Returns

#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.