Class: Google::Apis::DataflowV1b3::WorkerMessageResponse

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

A worker_message response allows the server to pass information to the sender.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WorkerMessageResponse

Returns a new instance of WorkerMessageResponse.


3976
3977
3978
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3976

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

Instance Attribute Details

#worker_health_report_responseGoogle::Apis::DataflowV1b3::WorkerHealthReportResponse

WorkerHealthReportResponse contains information returned to the worker in response to a health ping. Corresponds to the JSON property workerHealthReportResponse


3974
3975
3976
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3974

def worker_health_report_response
  @worker_health_report_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3981
3982
3983
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3981

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