Cloud Tasks V2 API - Class Google::Cloud::Tasks::V2::Attempt (v1.0.1)

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
Returns
  • (::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
Parameter
  • value (::Google::Protobuf::Timestamp) — Output only. The time that this attempt was dispatched.

    dispatch_time will be truncated to the nearest microsecond.

Returns
  • (::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
Returns
  • (::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 the response_status field is meaningless.

#response_status=

def response_status=(value) -> ::Google::Rpc::Status
Parameter
  • 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 the response_status field is meaningless.

Returns
  • (::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 the response_status field is meaningless.

#response_time

def response_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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
Parameter
  • value (::Google::Protobuf::Timestamp) — Output only. The time that this attempt response was received.

    response_time will be truncated to the nearest microsecond.

Returns
  • (::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
Returns
  • (::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
Parameter
  • value (::Google::Protobuf::Timestamp) — Output only. The time that this attempt was scheduled.

    schedule_time will be truncated to the nearest microsecond.

Returns
  • (::Google::Protobuf::Timestamp) — Output only. The time that this attempt was scheduled.

    schedule_time will be truncated to the nearest microsecond.