Class: Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

Response from a request to report the status of WorkItems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportWorkItemStatusResponse

Returns a new instance of ReportWorkItemStatusResponse.



3867
3868
3869
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3867

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#unified_worker_responseHash<String,Object>

Untranslated bag-of-bytes WorkProgressUpdateResponse for UnifiedWorker. Corresponds to the JSON property unifiedWorkerResponse

Returns:

  • (Hash<String,Object>)


3858
3859
3860
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3858

def unified_worker_response
  @unified_worker_response
end

#work_item_service_statesArray<Google::Apis::DataflowV1b3::WorkItemServiceState>

A set of messages indicating the service-side state for each WorkItem whose status was reported, in the same order as the WorkItemStatus messages in the ReportWorkItemStatusRequest which resulting in this response. Corresponds to the JSON property workItemServiceStates



3865
3866
3867
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3865

def work_item_service_states
  @work_item_service_states
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3872
3873
3874
3875
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3872

def update!(**args)
  @unified_worker_response = args[:unified_worker_response] if args.key?(:unified_worker_response)
  @work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states)
end