Class Attempt (2.4.0)

public sealed class Attempt : IMessage<Attempt>, IEquatable<Attempt>, IDeepCloneable<Attempt>, IBufferMessage, IMessage

The status of a task attempt.

Inheritance

Object > Attempt

Namespace

Google.Cloud.Tasks.V2

Assembly

Google.Cloud.Tasks.V2.dll

Constructors

Attempt()

public Attempt()

Attempt(Attempt)

public Attempt(Attempt other)
Parameter
NameDescription
otherAttempt

Properties

DispatchTime

public Timestamp DispatchTime { get; set; }

Output only. The time that this attempt was dispatched.

dispatch_time will be truncated to the nearest microsecond.

Property Value
TypeDescription
Timestamp

ResponseStatus

public Status ResponseStatus { get; set; }

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.

Property Value
TypeDescription
Status

ResponseTime

public Timestamp ResponseTime { get; set; }

Output only. The time that this attempt response was received.

response_time will be truncated to the nearest microsecond.

Property Value
TypeDescription
Timestamp

ScheduleTime

public Timestamp ScheduleTime { get; set; }

Output only. The time that this attempt was scheduled.

schedule_time will be truncated to the nearest microsecond.

Property Value
TypeDescription
Timestamp