Class: Google::Apis::DataflowV1b3::StreamingScalingReport

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 per-user worker telemetry used in streaming autoscaling.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StreamingScalingReport

Returns a new instance of StreamingScalingReport.



5880
5881
5882
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5880

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#active_bundle_countFixnum

Current acive bundle count. Corresponds to the JSON property activeBundleCount

Returns:

  • (Fixnum)


5853
5854
5855
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5853

def active_bundle_count
  @active_bundle_count
end

#active_thread_countFixnum

Current acive thread count. Corresponds to the JSON property activeThreadCount

Returns:

  • (Fixnum)


5858
5859
5860
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5858

def active_thread_count
  @active_thread_count
end

#maximum_bundle_countFixnum

Maximum bundle count limit. Corresponds to the JSON property maximumBundleCount

Returns:

  • (Fixnum)


5863
5864
5865
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5863

def maximum_bundle_count
  @maximum_bundle_count
end

#maximum_bytes_countFixnum

Maximum bytes count limit. Corresponds to the JSON property maximumBytesCount

Returns:

  • (Fixnum)


5868
5869
5870
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5868

def maximum_bytes_count
  @maximum_bytes_count
end

#maximum_thread_countFixnum

Maximum thread count limit. Corresponds to the JSON property maximumThreadCount

Returns:

  • (Fixnum)


5873
5874
5875
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5873

def maximum_thread_count
  @maximum_thread_count
end

#outstanding_bytes_countFixnum

Current outstanding bytes count. Corresponds to the JSON property outstandingBytesCount

Returns:

  • (Fixnum)


5878
5879
5880
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5878

def outstanding_bytes_count
  @outstanding_bytes_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5885
5886
5887
5888
5889
5890
5891
5892
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5885

def update!(**args)
  @active_bundle_count = args[:active_bundle_count] if args.key?(:active_bundle_count)
  @active_thread_count = args[:active_thread_count] if args.key?(:active_thread_count)
  @maximum_bundle_count = args[:maximum_bundle_count] if args.key?(:maximum_bundle_count)
  @maximum_bytes_count = args[:maximum_bytes_count] if args.key?(:maximum_bytes_count)
  @maximum_thread_count = args[:maximum_thread_count] if args.key?(:maximum_thread_count)
  @outstanding_bytes_count = args[:outstanding_bytes_count] if args.key?(:outstanding_bytes_count)
end