Class Attempt
The status of a task attempt.
Implements
Inherited Members
Namespace: Google.Apis.CloudTasks.v2.Data
Assembly: Google.Apis.CloudTasks.v2.dll
Syntax
public class Attempt : IDirectResponseSchema
Properties
DispatchTime
object representation of DispatchTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DispatchTimeDateTimeOffset instead.")]
public virtual object DispatchTime { get; set; }
Property Value
Type | Description |
---|---|
object |
DispatchTimeDateTimeOffset
DateTimeOffset representation of DispatchTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DispatchTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DispatchTimeRaw
Output only. The time that this attempt was dispatched. dispatch_time
will be truncated to the nearest
microsecond.
Declaration
[JsonProperty("dispatchTime")]
public virtual string DispatchTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ResponseStatus
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.
Declaration
[JsonProperty("responseStatus")]
public virtual Status ResponseStatus { get; set; }
Property Value
Type | Description |
---|---|
Status |
ResponseTime
object representation of ResponseTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ResponseTimeDateTimeOffset instead.")]
public virtual object ResponseTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ResponseTimeDateTimeOffset
DateTimeOffset representation of ResponseTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ResponseTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ResponseTimeRaw
Output only. The time that this attempt response was received. response_time
will be truncated to the
nearest microsecond.
Declaration
[JsonProperty("responseTime")]
public virtual string ResponseTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ScheduleTime
object representation of ScheduleTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ScheduleTimeDateTimeOffset instead.")]
public virtual object ScheduleTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ScheduleTimeDateTimeOffset
DateTimeOffset representation of ScheduleTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ScheduleTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ScheduleTimeRaw
Output only. The time that this attempt was scheduled. schedule_time
will be truncated to the nearest
microsecond.
Declaration
[JsonProperty("scheduleTime")]
public virtual string ScheduleTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |