class Google::Apis::DataflowV1b3::WorkerMessageResponse

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

Attributes

worker_health_report_response[RW]

WorkerHealthReportResponse contains information returned to the worker in response to a health ping. Corresponds to the JSON property `workerHealthReportResponse` @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse]

worker_metrics_response[RW]

Service-side response to WorkerMessage reporting resource utilization. Corresponds to the JSON property `workerMetricsResponse` @return [Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse]

worker_shutdown_notice_response[RW]

Service-side response to WorkerMessage issuing shutdown notice. Corresponds to the JSON property `workerShutdownNoticeResponse` @return [Google::Apis::DataflowV1b3::WorkerShutdownNoticeResponse]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 6446
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 6451
def update!(**args)
  @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response)
  @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response)
  @worker_shutdown_notice_response = args[:worker_shutdown_notice_response] if args.key?(:worker_shutdown_notice_response)
end