Class: Google::Apis::DataflowV1b3::ComputationTopology

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

All configuration data for a particular Computation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComputationTopology

Returns a new instance of ComputationTopology.



411
412
413
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 411

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

Instance Attribute Details

#computation_idString

The ID of the computation. Corresponds to the JSON property computationId

Returns:

  • (String)


384
385
386
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 384

def computation_id
  @computation_id
end

#inputsArray<Google::Apis::DataflowV1b3::StreamLocation>

The inputs to the computation. Corresponds to the JSON property inputs



389
390
391
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 389

def inputs
  @inputs
end

#key_rangesArray<Google::Apis::DataflowV1b3::KeyRangeLocation>

The key ranges processed by the computation. Corresponds to the JSON property keyRanges



394
395
396
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 394

def key_ranges
  @key_ranges
end

#outputsArray<Google::Apis::DataflowV1b3::StreamLocation>

The outputs from the computation. Corresponds to the JSON property outputs



399
400
401
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 399

def outputs
  @outputs
end

#state_familiesArray<Google::Apis::DataflowV1b3::StateFamilyConfig>

The state family values. Corresponds to the JSON property stateFamilies



404
405
406
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 404

def state_families
  @state_families
end

#system_stage_nameString

The system stage name. Corresponds to the JSON property systemStageName

Returns:

  • (String)


409
410
411
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 409

def system_stage_name
  @system_stage_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



416
417
418
419
420
421
422
423
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 416

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