Class: Google::Apis::DataflowV1b3::ComputationTopology
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ComputationTopology
- 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
All configuration data for a particular Computation.
Instance Attribute Summary collapse
-
#computation_id ⇒ String
The ID of the computation.
-
#inputs ⇒ Array<Google::Apis::DataflowV1b3::StreamLocation>
The inputs to the computation.
-
#key_ranges ⇒ Array<Google::Apis::DataflowV1b3::KeyRangeLocation>
The key ranges processed by the computation.
-
#outputs ⇒ Array<Google::Apis::DataflowV1b3::StreamLocation>
The outputs from the computation.
-
#state_families ⇒ Array<Google::Apis::DataflowV1b3::StateFamilyConfig>
The state family values.
-
#system_stage_name ⇒ String
The system stage name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComputationTopology
constructor
A new instance of ComputationTopology.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComputationTopology
Returns a new instance of ComputationTopology.
469 470 471 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#computation_id ⇒ String
The ID of the computation.
Corresponds to the JSON property computationId
442 443 444 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 442 def computation_id @computation_id end |
#inputs ⇒ Array<Google::Apis::DataflowV1b3::StreamLocation>
The inputs to the computation.
Corresponds to the JSON property inputs
447 448 449 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 447 def inputs @inputs end |
#key_ranges ⇒ Array<Google::Apis::DataflowV1b3::KeyRangeLocation>
The key ranges processed by the computation.
Corresponds to the JSON property keyRanges
452 453 454 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 452 def key_ranges @key_ranges end |
#outputs ⇒ Array<Google::Apis::DataflowV1b3::StreamLocation>
The outputs from the computation.
Corresponds to the JSON property outputs
457 458 459 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 457 def outputs @outputs end |
#state_families ⇒ Array<Google::Apis::DataflowV1b3::StateFamilyConfig>
The state family values.
Corresponds to the JSON property stateFamilies
462 463 464 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 462 def state_families @state_families end |
#system_stage_name ⇒ String
The system stage name.
Corresponds to the JSON property systemStageName
467 468 469 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 467 def system_stage_name @system_stage_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
474 475 476 477 478 479 480 481 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 474 def update!(**args) @computation_id = args[:computation_id] if args.key?(:computation_id) @inputs = args[:inputs] if args.key?(:inputs) @key_ranges = args[:key_ranges] if args.key?(:key_ranges) @outputs = args[:outputs] if args.key?(:outputs) @state_families = args[:state_families] if args.key?(:state_families) @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name) end |