Class: Google::Cloud::Tasks::V2beta2::TaskStatus

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

Overview

Status of the task.

Instance Attribute Summary collapse

Instance Attribute Details

#attempt_dispatch_count::Integer

Returns Output only. The number of attempts dispatched.

This count includes attempts which have been dispatched but haven't received a response.

Returns:

  • (::Integer)

    Output only. The number of attempts dispatched.

    This count includes attempts which have been dispatched but haven't received a response.



168
169
170
171
# File 'proto_docs/google/cloud/tasks/v2beta2/task.rb', line 168

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

#attempt_response_count::Integer

Returns Output only. The number of attempts which have received a response.

This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].

Returns:

  • (::Integer)

    Output only. The number of attempts which have received a response.

    This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].



168
169
170
171
# File 'proto_docs/google/cloud/tasks/v2beta2/task.rb', line 168

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

#first_attempt_status::Google::Cloud::Tasks::V2beta2::AttemptStatus

Returns Output only. The status of the task's first attempt.

Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks.

This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].

Returns:



168
169
170
171
# File 'proto_docs/google/cloud/tasks/v2beta2/task.rb', line 168

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

#last_attempt_status::Google::Cloud::Tasks::V2beta2::AttemptStatus

Returns Output only. The status of the task's last attempt.

This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].

Returns:



168
169
170
171
# File 'proto_docs/google/cloud/tasks/v2beta2/task.rb', line 168

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