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.



7823
7824
7825
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7823

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)


7821
7822
7823
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7821

def current_thread_count
  @current_thread_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7828
7829
7830
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 7828

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