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
-
(::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
-
value (::Integer) — Output only. The number of attempts dispatched.
This count includes attempts which have been dispatched but haven't received a response.
-
(::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
-
(::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
-
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].
-
(::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
-
(::Google::Cloud::Tasks::V2beta2::AttemptStatus) — 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].
#first_attempt_status=
def first_attempt_status=(value) -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
-
value (::Google::Cloud::Tasks::V2beta2::AttemptStatus) — 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].
-
(::Google::Cloud::Tasks::V2beta2::AttemptStatus) — 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].
#last_attempt_status
def last_attempt_status() -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
-
(::Google::Cloud::Tasks::V2beta2::AttemptStatus) — Output only. The status of the task's last attempt.
This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
#last_attempt_status=
def last_attempt_status=(value) -> ::Google::Cloud::Tasks::V2beta2::AttemptStatus
-
value (::Google::Cloud::Tasks::V2beta2::AttemptStatus) — Output only. The status of the task's last attempt.
This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
-
(::Google::Cloud::Tasks::V2beta2::AttemptStatus) — Output only. The status of the task's last attempt.
This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].