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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tasks/v2/task.rb

Overview

The status of a task attempt.

Instance Attribute Summary collapse

Instance Attribute Details

#dispatch_time::Google::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.



185
186
187
188
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 185

class Attempt
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#response_status::Google::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.



185
186
187
188
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 185

class Attempt
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#response_time::Google::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.



185
186
187
188
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 185

class Attempt
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#schedule_time::Google::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.



185
186
187
188
# File 'proto_docs/google/cloud/tasks/v2/task.rb', line 185

class Attempt
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end