View Source GoogleApi.Dataflow.V1b3.Model.ReportWorkItemStatusRequest (google_api_dataflow v0.51.0)

Request to report the status of WorkItems.

Attributes

  • currentWorkerTime (type: DateTime.t, default: nil) - The current timestamp at the worker.
  • location (type: String.t, default: nil) - The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.
  • projectNumber (type: String.t, default: nil) - Optional. The project number of the project which owns the WorkItem's job.
  • unifiedWorkerRequest (type: map(), default: nil) - Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
  • workItemStatuses (type: list(GoogleApi.Dataflow.V1b3.Model.WorkItemStatus.t), default: nil) - The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.
  • workerId (type: String.t, default: nil) - 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).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataflow.V1b3.Model.ReportWorkItemStatusRequest{
  currentWorkerTime: DateTime.t() | nil,
  location: String.t() | nil,
  projectNumber: String.t() | nil,
  unifiedWorkerRequest: map() | nil,
  workItemStatuses: [GoogleApi.Dataflow.V1b3.Model.WorkItemStatus.t()] | nil,
  workerId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.