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.



6661
6662
6663
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6661

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

Instance Attribute Details

#active_bundle_countFixnum

Corresponds to the JSON property activeBundleCount

Returns:

  • (Fixnum)


6619
6620
6621
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6619

def active_bundle_count
  @active_bundle_count
end

#active_thread_countFixnum

Current acive thread count. Corresponds to the JSON property activeThreadCount

Returns:

  • (Fixnum)


6624
6625
6626
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6624

def active_thread_count
  @active_thread_count
end

#maximum_bundle_countFixnum

Maximum bundle count. Corresponds to the JSON property maximumBundleCount

Returns:

  • (Fixnum)


6629
6630
6631
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6629

def maximum_bundle_count
  @maximum_bundle_count
end

#maximum_bytesFixnum

Maximum bytes. Corresponds to the JSON property maximumBytes

Returns:

  • (Fixnum)


6634
6635
6636
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6634

def maximum_bytes
  @maximum_bytes
end

#maximum_bytes_countFixnum

Corresponds to the JSON property maximumBytesCount

Returns:

  • (Fixnum)


6639
6640
6641
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6639

def maximum_bytes_count
  @maximum_bytes_count
end

#maximum_thread_countFixnum

Maximum thread count limit. Corresponds to the JSON property maximumThreadCount

Returns:

  • (Fixnum)


6644
6645
6646
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6644

def maximum_thread_count
  @maximum_thread_count
end

#outstanding_bundle_countFixnum

Current outstanding bundle count. Corresponds to the JSON property outstandingBundleCount

Returns:

  • (Fixnum)


6649
6650
6651
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6649

def outstanding_bundle_count
  @outstanding_bundle_count
end

#outstanding_bytesFixnum

Current outstanding bytes. Corresponds to the JSON property outstandingBytes

Returns:

  • (Fixnum)


6654
6655
6656
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6654

def outstanding_bytes
  @outstanding_bytes
end

#outstanding_bytes_countFixnum

Corresponds to the JSON property outstandingBytesCount

Returns:

  • (Fixnum)


6659
6660
6661
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6659

def outstanding_bytes_count
  @outstanding_bytes_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6666

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