public sealed class Attempt : IMessage<Attempt>, IEquatable<Attempt>, IDeepCloneable<Attempt>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2 API class Attempt.
The status of a task attempt.
Namespace
Google.Cloud.Tasks.V2Assembly
Google.Cloud.Tasks.V2.dll
Constructors
Attempt()
public Attempt()
Attempt(Attempt)
public Attempt(Attempt other)
Parameter | |
---|---|
Name | Description |
other |
Attempt |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Timestamp |