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

Request to lease 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.
  • requestedLeaseDuration (type: String.t, default: nil) - The initial lease period.
  • unifiedWorkerRequest (type: map(), default: nil) - Untranslated bag-of-bytes WorkRequest from UnifiedWorker.
  • workItemTypes (type: list(String.t), default: nil) - Filter for WorkItem type.
  • workerCapabilities (type: list(String.t), default: nil) - Worker capabilities. WorkItems might be limited to workers with specific capabilities.
  • workerId (type: String.t, default: nil) - Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.

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.LeaseWorkItemRequest{
  currentWorkerTime: DateTime.t(),
  location: String.t(),
  requestedLeaseDuration: String.t(),
  unifiedWorkerRequest: map(),
  workItemTypes: [String.t()],
  workerCapabilities: [String.t()],
  workerId: String.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.