Class: Google::Apis::DataflowV1b3::WorkerThreadScalingReport

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_countFixnum

Current number of active threads in a worker. Corresponds to the JSON property currentThreadCount

Returns:

  • (Fixnum)


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