google_api_dataflow v0.24.0 GoogleApi.Dataflow.V1b3.Model.WorkItem View Source

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

Attributes

  • configuration (type: String.t, default: nil) - Work item-specific configuration as an opaque blob.
  • id (type: String.t, default: nil) - Identifies this WorkItem.
  • initialReportIndex (type: String.t, default: nil) - The initial index to use when reporting the status of the WorkItem.
  • jobId (type: String.t, default: nil) - Identifies the workflow job this WorkItem belongs to.
  • leaseExpireTime (type: DateTime.t, default: nil) - Time when the lease on this Work will expire.
  • mapTask (type: GoogleApi.Dataflow.V1b3.Model.MapTask.t, default: nil) - Additional information for MapTask WorkItems.
  • packages (type: list(GoogleApi.Dataflow.V1b3.Model.Package.t), default: nil) - Any required packages that need to be fetched in order to execute this WorkItem.
  • projectId (type: String.t, default: nil) - Identifies the cloud project this WorkItem belongs to.
  • reportStatusInterval (type: String.t, default: nil) - Recommended reporting interval.
  • seqMapTask (type: GoogleApi.Dataflow.V1b3.Model.SeqMapTask.t, default: nil) - Additional information for SeqMapTask WorkItems.
  • shellTask (type: GoogleApi.Dataflow.V1b3.Model.ShellTask.t, default: nil) - Additional information for ShellTask WorkItems.
  • sourceOperationTask (type: GoogleApi.Dataflow.V1b3.Model.SourceOperationRequest.t, default: nil) - Additional information for source operation WorkItems.
  • streamingComputationTask (type: GoogleApi.Dataflow.V1b3.Model.StreamingComputationTask.t, default: nil) - Additional information for StreamingComputationTask WorkItems.
  • streamingConfigTask (type: GoogleApi.Dataflow.V1b3.Model.StreamingConfigTask.t, default: nil) - Additional information for StreamingConfigTask WorkItems.
  • streamingSetupTask (type: GoogleApi.Dataflow.V1b3.Model.StreamingSetupTask.t, default: nil) - Additional information for StreamingSetupTask WorkItems.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Dataflow.V1b3.Model.WorkItem{
  configuration: String.t(),
  id: String.t(),
  initialReportIndex: String.t(),
  jobId: String.t(),
  leaseExpireTime: DateTime.t(),
  mapTask: GoogleApi.Dataflow.V1b3.Model.MapTask.t(),
  packages: [GoogleApi.Dataflow.V1b3.Model.Package.t()],
  projectId: String.t(),
  reportStatusInterval: String.t(),
  seqMapTask: GoogleApi.Dataflow.V1b3.Model.SeqMapTask.t(),
  shellTask: GoogleApi.Dataflow.V1b3.Model.ShellTask.t(),
  sourceOperationTask: GoogleApi.Dataflow.V1b3.Model.SourceOperationRequest.t(),
  streamingComputationTask:
    GoogleApi.Dataflow.V1b3.Model.StreamingComputationTask.t(),
  streamingConfigTask: GoogleApi.Dataflow.V1b3.Model.StreamingConfigTask.t(),
  streamingSetupTask: GoogleApi.Dataflow.V1b3.Model.StreamingSetupTask.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.