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.



7099
7100
7101
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7099

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)


7097
7098
7099
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7097

def current_thread_count
  @current_thread_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7104
7105
7106
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7104

def update!(**args)
  @current_thread_count = args[:current_thread_count] if args.key?(:current_thread_count)
end