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

Request to lease WorkItems.

Attributes

  • currentWorkerTime (DateTime.t): The current timestamp at the worker. Defaults to: null.
  • location (String.t): The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job. Defaults to: null.
  • requestedLeaseDuration (String.t): The initial lease period. Defaults to: null.
  • unifiedWorkerRequest (%{optional(String.t) => String.t}): Untranslated bag-of-bytes WorkRequest from UnifiedWorker. Defaults to: null.
  • workItemTypes ([String.t]): Filter for WorkItem type. Defaults to: null.
  • workerCapabilities ([String.t]): Worker capabilities. WorkItems might be limited to workers with specific capabilities. Defaults to: null.
  • workerId (String.t): Identifies the worker leasing work -- typically the ID of the virtual machine running the worker. 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.LeaseWorkItemRequest{
  currentWorkerTime: DateTime.t(),
  location: any(),
  requestedLeaseDuration: any(),
  unifiedWorkerRequest: map(),
  workItemTypes: [any()],
  workerCapabilities: [any()],
  workerId: any()
}

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.