Class: Google::Apis::DataflowV1b3::StreamingConfigTask
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamingConfigTask
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
A task that carries configuration information for streaming computations.
Instance Attribute Summary collapse
-
#commit_stream_chunk_size_bytes ⇒ Fixnum
Chunk size for commit streams from the harness to windmill.
-
#get_data_stream_chunk_size_bytes ⇒ Fixnum
Chunk size for get data streams from the harness to windmill.
-
#max_work_item_commit_bytes ⇒ Fixnum
Maximum size for work item commit supported windmill storage layer.
-
#streaming_computation_configs ⇒ Array<Google::Apis::DataflowV1b3::StreamingComputationConfig>
Set of computation configuration information.
-
#user_step_to_state_family_name_map ⇒ Hash<String,String>
Map from user step names to state families.
-
#windmill_service_endpoint ⇒ String
If present, the worker must use this endpoint to communicate with Windmill Service dispatchers, otherwise the worker must continue to use whatever endpoint it had been using.
-
#windmill_service_port ⇒ Fixnum
If present, the worker must use this port to communicate with Windmill Service dispatchers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingConfigTask
constructor
A new instance of StreamingConfigTask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StreamingConfigTask
Returns a new instance of StreamingConfigTask
4551 4552 4553 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commit_stream_chunk_size_bytes ⇒ Fixnum
Chunk size for commit streams from the harness to windmill.
Corresponds to the JSON property commitStreamChunkSizeBytes
4515 4516 4517 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4515 def commit_stream_chunk_size_bytes @commit_stream_chunk_size_bytes end |
#get_data_stream_chunk_size_bytes ⇒ Fixnum
Chunk size for get data streams from the harness to windmill.
Corresponds to the JSON property getDataStreamChunkSizeBytes
4520 4521 4522 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4520 def get_data_stream_chunk_size_bytes @get_data_stream_chunk_size_bytes end |
#max_work_item_commit_bytes ⇒ Fixnum
Maximum size for work item commit supported windmill storage layer.
Corresponds to the JSON property maxWorkItemCommitBytes
4525 4526 4527 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4525 def max_work_item_commit_bytes @max_work_item_commit_bytes end |
#streaming_computation_configs ⇒ Array<Google::Apis::DataflowV1b3::StreamingComputationConfig>
Set of computation configuration information.
Corresponds to the JSON property streamingComputationConfigs
4530 4531 4532 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4530 def streaming_computation_configs @streaming_computation_configs end |
#user_step_to_state_family_name_map ⇒ Hash<String,String>
Map from user step names to state families.
Corresponds to the JSON property userStepToStateFamilyNameMap
4535 4536 4537 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4535 def user_step_to_state_family_name_map @user_step_to_state_family_name_map end |
#windmill_service_endpoint ⇒ String
If present, the worker must use this endpoint to communicate with Windmill
Service dispatchers, otherwise the worker must continue to use whatever
endpoint it had been using.
Corresponds to the JSON property windmillServiceEndpoint
4542 4543 4544 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4542 def windmill_service_endpoint @windmill_service_endpoint end |
#windmill_service_port ⇒ Fixnum
If present, the worker must use this port to communicate with Windmill
Service dispatchers. Only applicable when windmill_service_endpoint is
specified.
Corresponds to the JSON property windmillServicePort
4549 4550 4551 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4549 def windmill_service_port @windmill_service_port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4556 4557 4558 4559 4560 4561 4562 4563 4564 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4556 def update!(**args) @commit_stream_chunk_size_bytes = args[:commit_stream_chunk_size_bytes] if args.key?(:commit_stream_chunk_size_bytes) @get_data_stream_chunk_size_bytes = args[:get_data_stream_chunk_size_bytes] if args.key?(:get_data_stream_chunk_size_bytes) @max_work_item_commit_bytes = args[:max_work_item_commit_bytes] if args.key?(:max_work_item_commit_bytes) @streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs) @user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map) @windmill_service_endpoint = args[:windmill_service_endpoint] if args.key?(:windmill_service_endpoint) @windmill_service_port = args[:windmill_service_port] if args.key?(:windmill_service_port) end |