Class: Google::Apis::DataflowV1b3::StreamingConfigTask

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

A task that carries configuration information for streaming computations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StreamingConfigTask

Returns a new instance of StreamingConfigTask.



6140
6141
6142
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6140

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

Instance Attribute Details

#commit_stream_chunk_size_bytesFixnum

Chunk size for commit streams from the harness to windmill. Corresponds to the JSON property commitStreamChunkSizeBytes

Returns:

  • (Fixnum)


6100
6101
6102
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6100

def commit_stream_chunk_size_bytes
  @commit_stream_chunk_size_bytes
end

#get_data_stream_chunk_size_bytesFixnum

Chunk size for get data streams from the harness to windmill. Corresponds to the JSON property getDataStreamChunkSizeBytes

Returns:

  • (Fixnum)


6105
6106
6107
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6105

def get_data_stream_chunk_size_bytes
  @get_data_stream_chunk_size_bytes
end

#max_work_item_commit_bytesFixnum

Maximum size for work item commit supported windmill storage layer. Corresponds to the JSON property maxWorkItemCommitBytes

Returns:

  • (Fixnum)


6110
6111
6112
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6110

def max_work_item_commit_bytes
  @max_work_item_commit_bytes
end

#operational_limitsGoogle::Apis::DataflowV1b3::StreamingOperationalLimits

Operational limits imposed on streaming jobs by the backend. Corresponds to the JSON property operationalLimits



6115
6116
6117
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6115

def operational_limits
  @operational_limits
end

#streaming_computation_configsArray<Google::Apis::DataflowV1b3::StreamingComputationConfig>

Set of computation configuration information. Corresponds to the JSON property streamingComputationConfigs



6120
6121
6122
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6120

def streaming_computation_configs
  @streaming_computation_configs
end

#user_step_to_state_family_name_mapHash<String,String>

Map from user step names to state families. Corresponds to the JSON property userStepToStateFamilyNameMap

Returns:

  • (Hash<String,String>)


6125
6126
6127
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6125

def user_step_to_state_family_name_map
  @user_step_to_state_family_name_map
end

#windmill_service_endpointString

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

Returns:

  • (String)


6132
6133
6134
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6132

def windmill_service_endpoint
  @windmill_service_endpoint
end

#windmill_service_portFixnum

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

Returns:

  • (Fixnum)


6138
6139
6140
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6138

def windmill_service_port
  @windmill_service_port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6145

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)
  @operational_limits = args[:operational_limits] if args.key?(:operational_limits)
  @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