Class: Google::Cloud::Run::V2::TaskAttemptResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/task.rb

Overview

Result of a task attempt.

Instance Attribute Summary collapse

Instance Attribute Details

#exit_code::Integer (readonly)

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

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.



251
252
253
254
# File 'proto_docs/google/cloud/run/v2/task.rb', line 251

class TaskAttemptResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#status::Google::Rpc::Status (readonly)

Returns Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.

Returns:

  • (::Google::Rpc::Status)

    Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.



251
252
253
254
# File 'proto_docs/google/cloud/run/v2/task.rb', line 251

class TaskAttemptResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#term_signal::Integer (readonly)

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

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.



251
252
253
254
# File 'proto_docs/google/cloud/run/v2/task.rb', line 251

class TaskAttemptResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end