Reference documentation and code samples for the Cloud Tasks V2 API class Google::Cloud::Tasks::V2::Attempt.
The status of a task attempt.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dispatch_time
def dispatch_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. The time that this attempt was dispatched.
dispatch_time
will be truncated to the nearest microsecond.
#dispatch_time=
def dispatch_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — Output only. The time that this attempt was dispatched.
dispatch_time
will be truncated to the nearest microsecond.
-
(::Google::Protobuf::Timestamp) — Output only. The time that this attempt was dispatched.
dispatch_time
will be truncated to the nearest microsecond.
#response_status
def response_status() -> ::Google::Rpc::Status
-
(::Google::Rpc::Status) — Output only. The response from the worker for this attempt.
If
response_time
is unset, then the task has not been attempted or is currently running and theresponse_status
field is meaningless.
#response_status=
def response_status=(value) -> ::Google::Rpc::Status
-
value (::Google::Rpc::Status) — Output only. The response from the worker for this attempt.
If
response_time
is unset, then the task has not been attempted or is currently running and theresponse_status
field is meaningless.
-
(::Google::Rpc::Status) — Output only. The response from the worker for this attempt.
If
response_time
is unset, then the task has not been attempted or is currently running and theresponse_status
field is meaningless.
#response_time
def response_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. The time that this attempt response was received.
response_time
will be truncated to the nearest microsecond.
#response_time=
def response_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — Output only. The time that this attempt response was received.
response_time
will be truncated to the nearest microsecond.
-
(::Google::Protobuf::Timestamp) — Output only. The time that this attempt response was received.
response_time
will be truncated to the nearest microsecond.
#schedule_time
def schedule_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. The time that this attempt was scheduled.
schedule_time
will be truncated to the nearest microsecond.
#schedule_time=
def schedule_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — Output only. The time that this attempt was scheduled.
schedule_time
will be truncated to the nearest microsecond.
-
(::Google::Protobuf::Timestamp) — Output only. The time that this attempt was scheduled.
schedule_time
will be truncated to the nearest microsecond.