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.
7842 7843 7844 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7842 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
7840 7841 7842 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7840 def recommended_thread_count @recommended_thread_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7847 7848 7849 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7847 def update!(**args) @recommended_thread_count = args[:recommended_thread_count] if args.key?(:recommended_thread_count) end |