Class: Google::Cloud::Tasks::V2::Attempt

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb

Overview

The status of a task attempt.

Instance Attribute Summary collapse

Instance Attribute Details

#dispatch_timeGoogle::Protobuf::Timestamp

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



171
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb', line 171

class Attempt; end

#response_statusGoogle::Rpc::Status

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



171
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb', line 171

class Attempt; end

#response_timeGoogle::Protobuf::Timestamp

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



171
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb', line 171

class Attempt; end

#schedule_timeGoogle::Protobuf::Timestamp

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



171
# File 'lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb', line 171

class Attempt; end