Class: Google::Apis::DataflowV1b3::StreamingOperationalLimits

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

Operational limits imposed on streaming jobs by the backend.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StreamingOperationalLimits

Returns a new instance of StreamingOperationalLimits.



6407
6408
6409
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6407

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

Instance Attribute Details

#max_bag_element_bytesFixnum

The maximum size for an element in bag state. Corresponds to the JSON property maxBagElementBytes

Returns:

  • (Fixnum)


6370
6371
6372
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6370

def max_bag_element_bytes
  @max_bag_element_bytes
end

#max_global_data_bytesFixnum

The maximum size for an element in global data. Corresponds to the JSON property maxGlobalDataBytes

Returns:

  • (Fixnum)


6375
6376
6377
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6375

def max_global_data_bytes
  @max_global_data_bytes
end

#max_key_bytesFixnum

The maximum size allowed for a key. Corresponds to the JSON property maxKeyBytes

Returns:

  • (Fixnum)


6380
6381
6382
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6380

def max_key_bytes
  @max_key_bytes
end

#max_production_output_bytesFixnum

The maximum size for a single output element. Corresponds to the JSON property maxProductionOutputBytes

Returns:

  • (Fixnum)


6385
6386
6387
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6385

def max_production_output_bytes
  @max_production_output_bytes
end

#max_sorted_list_element_bytesFixnum

The maximum size for an element in sorted list state. Corresponds to the JSON property maxSortedListElementBytes

Returns:

  • (Fixnum)


6390
6391
6392
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6390

def max_sorted_list_element_bytes
  @max_sorted_list_element_bytes
end

#max_source_state_bytesFixnum

The maximum size for a source state update. Corresponds to the JSON property maxSourceStateBytes

Returns:

  • (Fixnum)


6395
6396
6397
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6395

def max_source_state_bytes
  @max_source_state_bytes
end

#max_tag_bytesFixnum

The maximum size for a state tag. Corresponds to the JSON property maxTagBytes

Returns:

  • (Fixnum)


6400
6401
6402
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6400

def max_tag_bytes
  @max_tag_bytes
end

#max_value_bytesFixnum

The maximum size for a value state field. Corresponds to the JSON property maxValueBytes

Returns:

  • (Fixnum)


6405
6406
6407
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6405

def max_value_bytes
  @max_value_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6412

def update!(**args)
  @max_bag_element_bytes = args[:max_bag_element_bytes] if args.key?(:max_bag_element_bytes)
  @max_global_data_bytes = args[:max_global_data_bytes] if args.key?(:max_global_data_bytes)
  @max_key_bytes = args[:max_key_bytes] if args.key?(:max_key_bytes)
  @max_production_output_bytes = args[:max_production_output_bytes] if args.key?(:max_production_output_bytes)
  @max_sorted_list_element_bytes = args[:max_sorted_list_element_bytes] if args.key?(:max_sorted_list_element_bytes)
  @max_source_state_bytes = args[:max_source_state_bytes] if args.key?(:max_source_state_bytes)
  @max_tag_bytes = args[:max_tag_bytes] if args.key?(:max_tag_bytes)
  @max_value_bytes = args[:max_value_bytes] if args.key?(:max_value_bytes)
end