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.



6980
6981
6982
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6980

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)


6978
6979
6980
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6978

def current_thread_count
  @current_thread_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6985
6986
6987
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6985

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