Class: Google::Apis::DataflowV1b3::StreamingScalingReport
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamingScalingReport
- 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
-
#active_bundle_count ⇒ Fixnum
Corresponds to the JSON property
activeBundleCount
. -
#active_thread_count ⇒ Fixnum
Current acive thread count.
-
#maximum_bundle_count ⇒ Fixnum
Maximum bundle count.
-
#maximum_bytes ⇒ Fixnum
Maximum bytes.
-
#maximum_bytes_count ⇒ Fixnum
Corresponds to the JSON property
maximumBytesCount
. -
#maximum_thread_count ⇒ Fixnum
Maximum thread count limit.
-
#outstanding_bundle_count ⇒ Fixnum
Current outstanding bundle count.
-
#outstanding_bytes ⇒ Fixnum
Current outstanding bytes.
-
#outstanding_bytes_count ⇒ Fixnum
Corresponds to the JSON property
outstandingBytesCount
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingScalingReport
constructor
A new instance of StreamingScalingReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamingScalingReport
Returns a new instance of StreamingScalingReport.
6371 6372 6373 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6371 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_bundle_count ⇒ Fixnum
Corresponds to the JSON property activeBundleCount
6329 6330 6331 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6329 def active_bundle_count @active_bundle_count end |
#active_thread_count ⇒ Fixnum
Current acive thread count.
Corresponds to the JSON property activeThreadCount
6334 6335 6336 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6334 def active_thread_count @active_thread_count end |
#maximum_bundle_count ⇒ Fixnum
Maximum bundle count.
Corresponds to the JSON property maximumBundleCount
6339 6340 6341 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6339 def maximum_bundle_count @maximum_bundle_count end |
#maximum_bytes ⇒ Fixnum
Maximum bytes.
Corresponds to the JSON property maximumBytes
6344 6345 6346 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6344 def maximum_bytes @maximum_bytes end |
#maximum_bytes_count ⇒ Fixnum
Corresponds to the JSON property maximumBytesCount
6349 6350 6351 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6349 def maximum_bytes_count @maximum_bytes_count end |
#maximum_thread_count ⇒ Fixnum
Maximum thread count limit.
Corresponds to the JSON property maximumThreadCount
6354 6355 6356 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6354 def maximum_thread_count @maximum_thread_count end |
#outstanding_bundle_count ⇒ Fixnum
Current outstanding bundle count.
Corresponds to the JSON property outstandingBundleCount
6359 6360 6361 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6359 def outstanding_bundle_count @outstanding_bundle_count end |
#outstanding_bytes ⇒ Fixnum
Current outstanding bytes.
Corresponds to the JSON property outstandingBytes
6364 6365 6366 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6364 def outstanding_bytes @outstanding_bytes end |
#outstanding_bytes_count ⇒ Fixnum
Corresponds to the JSON property outstandingBytesCount
6369 6370 6371 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6369 def outstanding_bytes_count @outstanding_bytes_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6376 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 = args[:maximum_bytes] if args.key?(:maximum_bytes) @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_bundle_count = args[:outstanding_bundle_count] if args.key?(:outstanding_bundle_count) @outstanding_bytes = args[:outstanding_bytes] if args.key?(:outstanding_bytes) @outstanding_bytes_count = args[:outstanding_bytes_count] if args.key?(:outstanding_bytes_count) end |