Class: Google::Apis::DataflowV1b3::StreamingSetupTask
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamingSetupTask
- 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 which initializes part of a streaming Dataflow job.
Instance Attribute Summary collapse
-
#drain ⇒ Boolean
(also: #drain?)
The user has requested drain.
-
#receive_work_port ⇒ Fixnum
The TCP port on which the worker should listen for messages from other streaming computation workers.
-
#snapshot_config ⇒ Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig
Streaming appliance snapshot configuration.
-
#streaming_computation_topology ⇒ Google::Apis::DataflowV1b3::TopologyConfig
Global topology of the streaming Dataflow job, including all computations and their sharded locations.
-
#worker_harness_port ⇒ Fixnum
The TCP port used by the worker to communicate with the Dataflow worker harness.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingSetupTask
constructor
A new instance of StreamingSetupTask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StreamingSetupTask
Returns a new instance of StreamingSetupTask
4600 4601 4602 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drain ⇒ Boolean Also known as: drain?
The user has requested drain.
Corresponds to the JSON property drain
4574 4575 4576 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4574 def drain @drain end |
#receive_work_port ⇒ Fixnum
The TCP port on which the worker should listen for messages from
other streaming computation workers.
Corresponds to the JSON property receiveWorkPort
4581 4582 4583 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4581 def receive_work_port @receive_work_port end |
#snapshot_config ⇒ Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig
Streaming appliance snapshot configuration.
Corresponds to the JSON property snapshotConfig
4586 4587 4588 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4586 def snapshot_config @snapshot_config end |
#streaming_computation_topology ⇒ Google::Apis::DataflowV1b3::TopologyConfig
Global topology of the streaming Dataflow job, including all
computations and their sharded locations.
Corresponds to the JSON property streamingComputationTopology
4592 4593 4594 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4592 def streaming_computation_topology @streaming_computation_topology end |
#worker_harness_port ⇒ Fixnum
The TCP port used by the worker to communicate with the Dataflow
worker harness.
Corresponds to the JSON property workerHarnessPort
4598 4599 4600 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4598 def worker_harness_port @worker_harness_port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4605 4606 4607 4608 4609 4610 4611 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4605 def update!(**args) @drain = args[:drain] if args.key?(:drain) @receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port) @snapshot_config = args[:snapshot_config] if args.key?(:snapshot_config) @streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology) @worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port) end |