Cloud Tasks V2beta2 API - Class Google::Cloud::Tasks::V2beta2::AttemptStatus (v0.12.1)

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

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 target for this attempt.

    If the task has not been attempted or the task is currently running then the response status is unset.

#response_status=

def response_status=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — Output only. The response from the target for this attempt.

    If the task has not been attempted or the task is currently running then the response status is unset.

Returns
  • (::Google::Rpc::Status) — Output only. The response from the target for this attempt.

    If the task has not been attempted or the task is currently running then the response status is unset.

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