Class: Google::Apis::DataflowV1b3::DynamicSourceSplit
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::DynamicSourceSplit
 
- 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
When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input.
Instance Attribute Summary collapse
- 
  
    
      #primary  ⇒ Google::Apis::DataflowV1b3::DerivedSource 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split. 
- 
  
    
      #residual  ⇒ Google::Apis::DataflowV1b3::DerivedSource 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DynamicSourceSplit 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DynamicSourceSplit. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DynamicSourceSplit
Returns a new instance of DynamicSourceSplit
| 987 988 989 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 987 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#primary ⇒ Google::Apis::DataflowV1b3::DerivedSource
Specification of one of the bundles produced as a result of splitting
a Source (e.g. when executing a SourceSplitRequest, or when
splitting an active task using WorkItemStatus.dynamic_source_split),
relative to the source being split.
Corresponds to the JSON property primary
| 977 978 979 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 977 def primary @primary end | 
#residual ⇒ Google::Apis::DataflowV1b3::DerivedSource
Specification of one of the bundles produced as a result of splitting
a Source (e.g. when executing a SourceSplitRequest, or when
splitting an active task using WorkItemStatus.dynamic_source_split),
relative to the source being split.
Corresponds to the JSON property residual
| 985 986 987 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 985 def residual @residual end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 992 993 994 995 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 992 def update!(**args) @primary = args[:primary] if args.key?(:primary) @residual = args[:residual] if args.key?(:residual) end |