Class: Google::Apis::DatamigrationV1::SourceTextFilter
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::SourceTextFilter
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
 lib/google/apis/datamigration_v1/representations.rb,
 lib/google/apis/datamigration_v1/representations.rb
Overview
Filter for text-based data types like varchar.
Instance Attribute Summary collapse
- 
  
    
      #source_max_length_filter  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #source_min_length_filter  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SourceTextFilter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SourceTextFilter. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ SourceTextFilter
Returns a new instance of SourceTextFilter.
| 4362 4363 4364 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4362 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#source_max_length_filter ⇒ Fixnum
Optional. The filter will match columns with length smaller than or equal to
this number.
Corresponds to the JSON property sourceMaxLengthFilter
| 4354 4355 4356 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4354 def source_max_length_filter @source_max_length_filter end | 
#source_min_length_filter ⇒ Fixnum
Optional. The filter will match columns with length greater than or equal to
this number.
Corresponds to the JSON property sourceMinLengthFilter
| 4360 4361 4362 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4360 def source_min_length_filter @source_min_length_filter end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4367 4368 4369 4370 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4367 def update!(**args) @source_max_length_filter = args[:source_max_length_filter] if args.key?(:source_max_length_filter) @source_min_length_filter = args[:source_min_length_filter] if args.key?(:source_min_length_filter) end |