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.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 75 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 end end |
#status_events ⇒ ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Returns Detailed info about why the state is reached.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 75 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 end end |