class Google::Apis::DataflowV1b3::LeaseWorkItemResponse

Response to a request to lease WorkItems.

Attributes

unified_worker_response[RW]

Untranslated bag-of-bytes WorkResponse for UnifiedWorker. Corresponds to the JSON property `unifiedWorkerResponse` @return [Hash<String,Object>]

work_items[RW]

A list of the leased WorkItems. Corresponds to the JSON property `workItems` @return [Array<Google::Apis::DataflowV1b3::WorkItem>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 2721
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 2726
def update!(**args)
  @unified_worker_response = args[:unified_worker_response] if args.key?(:unified_worker_response)
  @work_items = args[:work_items] if args.key?(:work_items)
end