Class: Google::Cloud::Batch::V1::TaskStatus
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::TaskStatus
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/task.rb
Overview
Status of a task
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#state ⇒ ::Google::Cloud::Batch::V1::TaskStatus::State
Task state.
-
#status_events ⇒ ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Detailed info about why the state is reached.
Instance Attribute Details
#state ⇒ ::Google::Cloud::Batch::V1::TaskStatus::State
Returns Task state.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 78 class TaskStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Task states. module State # Unknown state. STATE_UNSPECIFIED = 0 # The Task is created and waiting for resources. PENDING = 1 # The Task is assigned to at least one VM. ASSIGNED = 2 # The Task is running. RUNNING = 3 # The Task has failed. FAILED = 4 # The Task has succeeded. SUCCEEDED = 5 # The Task has not been executed when the Job finishes. UNEXECUTED = 6 end end |
#status_events ⇒ ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Returns Detailed info about why the state is reached.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 78 class TaskStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Task states. module State # Unknown state. STATE_UNSPECIFIED = 0 # The Task is created and waiting for resources. PENDING = 1 # The Task is assigned to at least one VM. ASSIGNED = 2 # The Task is running. RUNNING = 3 # The Task has failed. FAILED = 4 # The Task has succeeded. SUCCEEDED = 5 # The Task has not been executed when the Job finishes. UNEXECUTED = 6 end end |