Class: Google::Apis::DataflowV1b3::TopologyConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::TopologyConfig
 
- 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
Global topology of the streaming Dataflow job, including all computations and their sharded locations.
Instance Attribute Summary collapse
- 
  
    
      #computations  ⇒ Array<Google::Apis::DataflowV1b3::ComputationTopology> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The computations associated with a streaming Dataflow job. 
- 
  
    
      #data_disk_assignments  ⇒ Array<Google::Apis::DataflowV1b3::DataDiskAssignment> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The disks assigned to a streaming Dataflow job. 
- 
  
    
      #forwarding_key_bits  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The size (in bits) of keys that will be assigned to source messages. 
- 
  
    
      #persistent_state_version  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Version number for persistent state. 
- 
  
    
      #user_stage_to_computation_name_map  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Maps user stage names to stable computation names. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TopologyConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TopologyConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TopologyConfig
Returns a new instance of TopologyConfig
| 4455 4456 4457 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4455 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#computations ⇒ Array<Google::Apis::DataflowV1b3::ComputationTopology>
The computations associated with a streaming Dataflow job.
Corresponds to the JSON property computations
| 4433 4434 4435 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4433 def computations @computations end | 
#data_disk_assignments ⇒ Array<Google::Apis::DataflowV1b3::DataDiskAssignment>
The disks assigned to a streaming Dataflow job.
Corresponds to the JSON property dataDiskAssignments
| 4438 4439 4440 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4438 def data_disk_assignments @data_disk_assignments end | 
#forwarding_key_bits ⇒ Fixnum
The size (in bits) of keys that will be assigned to source messages.
Corresponds to the JSON property forwardingKeyBits
| 4443 4444 4445 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4443 def forwarding_key_bits @forwarding_key_bits end | 
#persistent_state_version ⇒ Fixnum
Version number for persistent state.
Corresponds to the JSON property persistentStateVersion
| 4448 4449 4450 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4448 def persistent_state_version @persistent_state_version end | 
#user_stage_to_computation_name_map ⇒ Hash<String,String>
Maps user stage names to stable computation names.
Corresponds to the JSON property userStageToComputationNameMap
| 4453 4454 4455 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4453 def user_stage_to_computation_name_map @user_stage_to_computation_name_map end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4460 4461 4462 4463 4464 4465 4466 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4460 def update!(**args) @computations = args[:computations] if args.key?(:computations) @data_disk_assignments = args[:data_disk_assignments] if args.key?(:data_disk_assignments) @forwarding_key_bits = args[:forwarding_key_bits] if args.key?(:forwarding_key_bits) @persistent_state_version = args[:persistent_state_version] if args.key?(:persistent_state_version) @user_stage_to_computation_name_map = args[:user_stage_to_computation_name_map] if args.key?(:user_stage_to_computation_name_map) end |