Class Attempt (2.0.0-beta08)

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

Assembly

Google.Cloud.Tasks.V2Beta3.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