Class: Google::Apis::DataflowV1b3::WorkerThreadScalingReport
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::WorkerThreadScalingReport
- 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 information about the thread scaling information of a worker.
Instance Attribute Summary collapse
-
#current_thread_count ⇒ Fixnum
Current number of active threads in a worker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkerThreadScalingReport
constructor
A new instance of WorkerThreadScalingReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkerThreadScalingReport
Returns a new instance of WorkerThreadScalingReport.
7874 7875 7876 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7874 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_thread_count ⇒ Fixnum
Current number of active threads in a worker.
Corresponds to the JSON property currentThreadCount
7872 7873 7874 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7872 def current_thread_count @current_thread_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7879 7880 7881 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7879 def update!(**args) @current_thread_count = args[:current_thread_count] if args.key?(:current_thread_count) end |