Class: Google::Apis::DataflowV1b3::StreamingOperationalLimits
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamingOperationalLimits
- 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
-
#max_bag_element_bytes ⇒ Fixnum
The maximum size for an element in bag state.
-
#max_global_data_bytes ⇒ Fixnum
The maximum size for an element in global data.
-
#max_key_bytes ⇒ Fixnum
The maximum size allowed for a key.
-
#max_production_output_bytes ⇒ Fixnum
The maximum size for a single output element.
-
#max_sorted_list_element_bytes ⇒ Fixnum
The maximum size for an element in sorted list state.
-
#max_source_state_bytes ⇒ Fixnum
The maximum size for a source state update.
-
#max_tag_bytes ⇒ Fixnum
The maximum size for a state tag.
-
#max_value_bytes ⇒ Fixnum
The maximum size for a value state field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingOperationalLimits
constructor
A new instance of StreamingOperationalLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamingOperationalLimits
Returns a new instance of StreamingOperationalLimits.
6201 6202 6203 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_bag_element_bytes ⇒ Fixnum
The maximum size for an element in bag state.
Corresponds to the JSON property maxBagElementBytes
6164 6165 6166 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6164 def max_bag_element_bytes @max_bag_element_bytes end |
#max_global_data_bytes ⇒ Fixnum
The maximum size for an element in global data.
Corresponds to the JSON property maxGlobalDataBytes
6169 6170 6171 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6169 def max_global_data_bytes @max_global_data_bytes end |
#max_key_bytes ⇒ Fixnum
The maximum size allowed for a key.
Corresponds to the JSON property maxKeyBytes
6174 6175 6176 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6174 def max_key_bytes @max_key_bytes end |
#max_production_output_bytes ⇒ Fixnum
The maximum size for a single output element.
Corresponds to the JSON property maxProductionOutputBytes
6179 6180 6181 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6179 def max_production_output_bytes @max_production_output_bytes end |
#max_sorted_list_element_bytes ⇒ Fixnum
The maximum size for an element in sorted list state.
Corresponds to the JSON property maxSortedListElementBytes
6184 6185 6186 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6184 def max_sorted_list_element_bytes @max_sorted_list_element_bytes end |
#max_source_state_bytes ⇒ Fixnum
The maximum size for a source state update.
Corresponds to the JSON property maxSourceStateBytes
6189 6190 6191 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6189 def max_source_state_bytes @max_source_state_bytes end |
#max_tag_bytes ⇒ Fixnum
The maximum size for a state tag.
Corresponds to the JSON property maxTagBytes
6194 6195 6196 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6194 def max_tag_bytes @max_tag_bytes end |
#max_value_bytes ⇒ Fixnum
The maximum size for a value state field.
Corresponds to the JSON property maxValueBytes
6199 6200 6201 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6199 def max_value_bytes @max_value_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6206 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 |