Class ReportWorkItemStatusRequest
Request to report the status of WorkItems.
Implements
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3.Data
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ReportWorkItemStatusRequest : IDirectResponseSchema
Properties
CurrentWorkerTime
object representation of CurrentWorkerTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CurrentWorkerTimeDateTimeOffset instead.")]
public virtual object CurrentWorkerTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CurrentWorkerTimeDateTimeOffset
DateTimeOffset representation of CurrentWorkerTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CurrentWorkerTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CurrentWorkerTimeRaw
The current timestamp at the worker.
Declaration
[JsonProperty("currentWorkerTime")]
public virtual string CurrentWorkerTimeRaw { 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 |
Location
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectNumber
Optional. The project number of the project which owns the WorkItem's job.
Declaration
[JsonProperty("projectNumber")]
public virtual long? ProjectNumber { get; set; }
Property Value
Type | Description |
---|---|
long? |
UnifiedWorkerRequest
Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
Declaration
[JsonProperty("unifiedWorkerRequest")]
public virtual IDictionary<string, object> UnifiedWorkerRequest { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
WorkItemStatuses
The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.
Declaration
[JsonProperty("workItemStatuses")]
public virtual IList<WorkItemStatus> WorkItemStatuses { get; set; }
Property Value
Type | Description |
---|---|
IList<WorkItemStatus> |
WorkerId
The ID of the worker reporting the WorkItem status. If this does not match the ID of the worker which the Dataflow service believes currently has the lease on the WorkItem, the report will be dropped (with an error response).
Declaration
[JsonProperty("workerId")]
public virtual string WorkerId { get; set; }
Property Value
Type | Description |
---|---|
string |