Class: Google::Apis::DataflowV1b3::WorkerThreadScalingReportResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::WorkerThreadScalingReportResponse
- 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
Contains the thread scaling recommendation for a worker from the backend.
Instance Attribute Summary collapse
-
#recommended_thread_count ⇒ Fixnum
Recommended number of threads for a worker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkerThreadScalingReportResponse
constructor
A new instance of WorkerThreadScalingReportResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkerThreadScalingReportResponse
Returns a new instance of WorkerThreadScalingReportResponse.
6966 6967 6968 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6966 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recommended_thread_count ⇒ Fixnum
Recommended number of threads for a worker.
Corresponds to the JSON property recommendedThreadCount
6964 6965 6966 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6964 def recommended_thread_count @recommended_thread_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6971 6972 6973 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6971 def update!(**args) @recommended_thread_count = args[:recommended_thread_count] if args.key?(:recommended_thread_count) end |