Cloud Run V2 API - Class Google::Cloud::Run::V2::TaskAttemptResult (v0.20.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.

#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.