google_api_dataflow v0.8.0 GoogleApi.Dataflow.V1b3.Model.WorkItemServiceState View Source

The Dataflow service's idea of the current state of a WorkItem being processed by a worker.

Attributes

  • harnessData (%{optional(String.t) => String.t}): Other data returned by the service, specific to the particular worker harness. Defaults to: null.
  • leaseExpireTime (DateTime.t): Time at which the current lease will expire. Defaults to: null.
  • metricShortId ([MetricShortId]): The short ids that workers should use in subsequent metric updates. Workers should strive to use short ids whenever possible, but it is ok to request the short_id again if a worker lost track of it (e.g. if the worker is recovering from a crash). NOTE: it is possible that the response may have short ids for a subset of the metrics. Defaults to: null.
  • nextReportIndex (String.t): The index value to use for the next report sent by the worker. Note: If the report call fails for whatever reason, the worker should reuse this index for subsequent report attempts. Defaults to: null.
  • reportStatusInterval (String.t): New recommended reporting interval. Defaults to: null.
  • splitRequest (ApproximateSplitRequest): The progress point in the WorkItem where the Dataflow service suggests that the worker truncate the task. Defaults to: null.
  • suggestedStopPoint (ApproximateProgress): DEPRECATED in favor of split_request. Defaults to: null.
  • suggestedStopPosition (Position): Obsolete, always empty. Defaults to: null.

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.WorkItemServiceState{
  harnessData: map(),
  leaseExpireTime: DateTime.t(),
  metricShortId: [GoogleApi.Dataflow.V1b3.Model.MetricShortId.t()],
  nextReportIndex: any(),
  reportStatusInterval: any(),
  splitRequest: GoogleApi.Dataflow.V1b3.Model.ApproximateSplitRequest.t(),
  suggestedStopPoint: GoogleApi.Dataflow.V1b3.Model.ApproximateProgress.t(),
  suggestedStopPosition: GoogleApi.Dataflow.V1b3.Model.Position.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.