View Source GoogleApi.Dataflow.V1b3.Model.LeaseWorkItemRequest (google_api_dataflow v0.50.0)

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.
  • projectNumber (type: String.t, default: nil) - Optional. The project number of the project this worker belongs to.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataflow.V1b3.Model.LeaseWorkItemRequest{
  currentWorkerTime: DateTime.t() | nil,
  location: String.t() | nil,
  projectNumber: String.t() | nil,
  requestedLeaseDuration: String.t() | nil,
  unifiedWorkerRequest: map() | nil,
  workItemTypes: [String.t()] | nil,
  workerCapabilities: [String.t()] | nil,
  workerId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.