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

Inherits:
Object
  • Object
show all
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

All configuration data for a particular Computation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ComputationTopology

Returns a new instance of ComputationTopology



1733
1734
1735
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1733

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

Instance Attribute Details

#computation_idString

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

Returns:

  • (String)


1711
1712
1713
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1711

def computation_id
  @computation_id
end

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

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



1706
1707
1708
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1706

def inputs
  @inputs
end

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

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



1716
1717
1718
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1716

def key_ranges
  @key_ranges
end

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

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



1726
1727
1728
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1726

def outputs
  @outputs
end

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

The state family values. Corresponds to the JSON property stateFamilies



1731
1732
1733
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1731

def state_families
  @state_families
end

#system_stage_nameString

The system stage name. Corresponds to the JSON property systemStageName

Returns:

  • (String)


1701
1702
1703
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1701

def system_stage_name
  @system_stage_name
end

#user_stage_nameString

The user stage name. Corresponds to the JSON property userStageName

Returns:

  • (String)


1721
1722
1723
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1721

def user_stage_name
  @user_stage_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1738
1739
1740
1741
1742
1743
1744
1745
1746
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1738

def update!(**args)
  @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name)
  @inputs = args[:inputs] if args.key?(:inputs)
  @computation_id = args[:computation_id] if args.key?(:computation_id)
  @key_ranges = args[:key_ranges] if args.key?(:key_ranges)
  @user_stage_name = args[:user_stage_name] if args.key?(:user_stage_name)
  @outputs = args[:outputs] if args.key?(:outputs)
  @state_families = args[:state_families] if args.key?(:state_families)
end