Batch V1 API - Class Google::Cloud::Batch::V1::TaskExecution (v0.5.0)

Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::TaskExecution.

This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#exit_code

def exit_code() -> ::Integer
Returns
  • (::Integer) — When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.

#exit_code=

def exit_code=(value) -> ::Integer
Parameter
  • value (::Integer) — When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
Returns
  • (::Integer) — When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.