Class: Google::Cloud::Batch::V1::TaskExecution
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::TaskExecution
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/task.rb
Overview
This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.
Instance Attribute Summary collapse
-
#exit_code ⇒ ::Integer
The exit code of a finished task.
Instance Attribute Details
#exit_code ⇒ ::Integer
Returns The exit code of a finished task.
If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000.
Otherwise, it can be from different sources:
- Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error.
116 117 118 119 |
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 116 class TaskExecution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |