Cloud Tasks V2beta2 API - Class Google::Cloud::Tasks::V2beta2::TaskStatus (v0.12.0)

Reference documentation and code samples for the Cloud Tasks V2beta2 API class Google::Cloud::Tasks::V2beta2::TaskStatus.

Status of the task.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attempt_dispatch_count

def attempt_dispatch_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of attempts dispatched.

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

#attempt_dispatch_count=

def attempt_dispatch_count=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.

#attempt_response_count

def attempt_response_count() -> ::Integer
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].

#attempt_response_count=

def attempt_response_count=(value) -> ::Integer
Parameter
  • value (::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].

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

#first_attempt_status

def first_attempt_status() -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
Returns

#first_attempt_status=

def first_attempt_status=(value) -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
Parameter
Returns

#last_attempt_status

def last_attempt_status() -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
Returns

#last_attempt_status=

def last_attempt_status=(value) -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
Parameter
Returns