Show / Hide Table of Contents

Class WorkItem

WorkItem represents basic information about a WorkItem to be executed in the cloud.

Inheritance
object
WorkItem
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataflow.v1b3.Data
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class WorkItem : IDirectResponseSchema

Properties

Configuration

Work item-specific configuration as an opaque blob.

Declaration
[JsonProperty("configuration")]
public virtual string Configuration { 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

Id

Identifies this WorkItem.

Declaration
[JsonProperty("id")]
public virtual long? Id { get; set; }
Property Value
Type Description
long?

InitialReportIndex

The initial index to use when reporting the status of the WorkItem.

Declaration
[JsonProperty("initialReportIndex")]
public virtual long? InitialReportIndex { get; set; }
Property Value
Type Description
long?

JobId

Identifies the workflow job this WorkItem belongs to.

Declaration
[JsonProperty("jobId")]
public virtual string JobId { get; set; }
Property Value
Type Description
string

LeaseExpireTime

object representation of LeaseExpireTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LeaseExpireTimeDateTimeOffset instead.")]
public virtual object LeaseExpireTime { get; set; }
Property Value
Type Description
object

LeaseExpireTimeDateTimeOffset

DateTimeOffset representation of LeaseExpireTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LeaseExpireTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LeaseExpireTimeRaw

Time when the lease on this Work will expire.

Declaration
[JsonProperty("leaseExpireTime")]
public virtual string LeaseExpireTimeRaw { get; set; }
Property Value
Type Description
string

MapTask

Additional information for MapTask WorkItems.

Declaration
[JsonProperty("mapTask")]
public virtual MapTask MapTask { get; set; }
Property Value
Type Description
MapTask

Packages

Any required packages that need to be fetched in order to execute this WorkItem.

Declaration
[JsonProperty("packages")]
public virtual IList<Package> Packages { get; set; }
Property Value
Type Description
IList<Package>

ProjectId

Identifies the cloud project this WorkItem belongs to.

Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type Description
string

ReportStatusInterval

Recommended reporting interval.

Declaration
[JsonProperty("reportStatusInterval")]
public virtual object ReportStatusInterval { get; set; }
Property Value
Type Description
object

SeqMapTask

Additional information for SeqMapTask WorkItems.

Declaration
[JsonProperty("seqMapTask")]
public virtual SeqMapTask SeqMapTask { get; set; }
Property Value
Type Description
SeqMapTask

ShellTask

Additional information for ShellTask WorkItems.

Declaration
[JsonProperty("shellTask")]
public virtual ShellTask ShellTask { get; set; }
Property Value
Type Description
ShellTask

SourceOperationTask

Additional information for source operation WorkItems.

Declaration
[JsonProperty("sourceOperationTask")]
public virtual SourceOperationRequest SourceOperationTask { get; set; }
Property Value
Type Description
SourceOperationRequest

StreamingComputationTask

Additional information for StreamingComputationTask WorkItems.

Declaration
[JsonProperty("streamingComputationTask")]
public virtual StreamingComputationTask StreamingComputationTask { get; set; }
Property Value
Type Description
StreamingComputationTask

StreamingConfigTask

Additional information for StreamingConfigTask WorkItems.

Declaration
[JsonProperty("streamingConfigTask")]
public virtual StreamingConfigTask StreamingConfigTask { get; set; }
Property Value
Type Description
StreamingConfigTask

StreamingSetupTask

Additional information for StreamingSetupTask WorkItems.

Declaration
[JsonProperty("streamingSetupTask")]
public virtual StreamingSetupTask StreamingSetupTask { get; set; }
Property Value
Type Description
StreamingSetupTask

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX