Class: Google::Apis::DataflowV1b3::SourceSplitOptions
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::SourceSplitOptions
 
- 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
Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.
Instance Attribute Summary collapse
- 
  
    
      #desired_bundle_size_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The source should be split into a set of bundles where the estimated size of each is approximately this many bytes. 
- 
  
    
      #desired_shard_size_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DEPRECATED in favor of desired_bundle_size_bytes. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SourceSplitOptions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SourceSplitOptions. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SourceSplitOptions
Returns a new instance of SourceSplitOptions
| 3606 3607 3608 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3606 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#desired_bundle_size_bytes ⇒ Fixnum
The source should be split into a set of bundles where the estimated size
of each is approximately this many bytes.
Corresponds to the JSON property desiredBundleSizeBytes
| 3599 3600 3601 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3599 def desired_bundle_size_bytes @desired_bundle_size_bytes end | 
#desired_shard_size_bytes ⇒ Fixnum
DEPRECATED in favor of desired_bundle_size_bytes.
Corresponds to the JSON property desiredShardSizeBytes
| 3604 3605 3606 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3604 def desired_shard_size_bytes @desired_shard_size_bytes end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3611 3612 3613 3614 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3611 def update!(**args) @desired_bundle_size_bytes = args[:desired_bundle_size_bytes] if args.key?(:desired_bundle_size_bytes) @desired_shard_size_bytes = args[:desired_shard_size_bytes] if args.key?(:desired_shard_size_bytes) end |