Class: Google::Apis::DataflowV1b3::WorkerMessageResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::WorkerMessageResponse
- 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
-
#worker_health_report_response ⇒ Google::Apis::DataflowV1b3::WorkerHealthReportResponse
WorkerHealthReportResponse contains information returned to the worker in response to a health ping.
-
#worker_metrics_response ⇒ Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse
Service-side response to WorkerMessage reporting resource utilization.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkerMessageResponse
constructor
A new instance of WorkerMessageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WorkerMessageResponse
Returns a new instance of WorkerMessageResponse
3301 3302 3303 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3301 def initialize(**args) update!(**args) end |
Instance Attribute Details
#worker_health_report_response ⇒ Google::Apis::DataflowV1b3::WorkerHealthReportResponse
WorkerHealthReportResponse contains information returned to the worker
in response to a health ping.
Corresponds to the JSON property workerHealthReportResponse
3299 3300 3301 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3299 def worker_health_report_response @worker_health_report_response end |
#worker_metrics_response ⇒ Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse
Service-side response to WorkerMessage reporting resource utilization.
Corresponds to the JSON property workerMetricsResponse
3293 3294 3295 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3293 def worker_metrics_response @worker_metrics_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3306 3307 3308 3309 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3306 def update!(**args) @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response) @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response) end |