GoogleApi.Dataflow.V1b3.Model.WorkItem (google_api_dataflow v0.53.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.