Class: Google::Apis::DataflowV1b3::WorkerMessageResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::WorkerMessageResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/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.
-
#worker_shutdown_notice_response ⇒ Google::Apis::DataflowV1b3::WorkerShutdownNoticeResponse
Service-side response to WorkerMessage issuing shutdown notice.
-
#worker_thread_scaling_report_response ⇒ Google::Apis::DataflowV1b3::WorkerThreadScalingReportResponse
Contains the thread scaling recommendation for a worker from the backend.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkerMessageResponse
constructor
A new instance of WorkerMessageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkerMessageResponse
Returns a new instance of WorkerMessageResponse.
6963 6964 6965 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6963 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
6946 6947 6948 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6946 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
6951 6952 6953 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6951 def worker_metrics_response @worker_metrics_response end |
#worker_shutdown_notice_response ⇒ Google::Apis::DataflowV1b3::WorkerShutdownNoticeResponse
Service-side response to WorkerMessage issuing shutdown notice.
Corresponds to the JSON property workerShutdownNoticeResponse
6956 6957 6958 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6956 def worker_shutdown_notice_response @worker_shutdown_notice_response end |
#worker_thread_scaling_report_response ⇒ Google::Apis::DataflowV1b3::WorkerThreadScalingReportResponse
Contains the thread scaling recommendation for a worker from the backend.
Corresponds to the JSON property workerThreadScalingReportResponse
6961 6962 6963 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6961 def worker_thread_scaling_report_response @worker_thread_scaling_report_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6968 6969 6970 6971 6972 6973 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6968 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) @worker_thread_scaling_report_response = args[:worker_thread_scaling_report_response] if args.key?(:worker_thread_scaling_report_response) end |