Cloud Run V2 API - Class Google::Cloud::Run::V2::TaskAttemptResult (v0.25.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::TaskAttemptResult.

Result of a task attempt.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#exit_code

def exit_code() -> ::Integer
Returns
  • (::Integer) — Output only. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.

    At most one of exit_code or term_signal will be set.

#status

def status() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.

#term_signal

def term_signal() -> ::Integer
Returns
  • (::Integer) — Output only. Termination signal of the container. This is set to non-zero if the container is terminated by the system.

    At most one of exit_code or term_signal will be set.