Class: Google::Apis::DatamigrationV1::SourceNumericFilter
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::SourceNumericFilter
 
- 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 fixed point number data types such as NUMERIC/NUMBER
Instance Attribute Summary collapse
- 
  
    
      #numeric_filter_option  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #source_max_precision_filter  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #source_max_scale_filter  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #source_min_precision_filter  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #source_min_scale_filter  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SourceNumericFilter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SourceNumericFilter. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ SourceNumericFilter
Returns a new instance of SourceNumericFilter.
| 4311 4312 4313 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4311 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#numeric_filter_option ⇒ String
Required. Enum to set the option defining the datatypes numeric filter has to
be applied to
Corresponds to the JSON property numericFilterOption
| 4285 4286 4287 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4285 def numeric_filter_option @numeric_filter_option end | 
#source_max_precision_filter ⇒ Fixnum
Optional. The filter will match columns with precision smaller than or equal
to this number.
Corresponds to the JSON property sourceMaxPrecisionFilter
| 4291 4292 4293 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4291 def source_max_precision_filter @source_max_precision_filter end | 
#source_max_scale_filter ⇒ Fixnum
Optional. The filter will match columns with scale smaller than or equal to
this number.
Corresponds to the JSON property sourceMaxScaleFilter
| 4297 4298 4299 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4297 def source_max_scale_filter @source_max_scale_filter end | 
#source_min_precision_filter ⇒ Fixnum
Optional. The filter will match columns with precision greater than or equal
to this number.
Corresponds to the JSON property sourceMinPrecisionFilter
| 4303 4304 4305 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4303 def source_min_precision_filter @source_min_precision_filter end | 
#source_min_scale_filter ⇒ Fixnum
Optional. The filter will match columns with scale greater than or equal to
this number.
Corresponds to the JSON property sourceMinScaleFilter
| 4309 4310 4311 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4309 def source_min_scale_filter @source_min_scale_filter end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4316 4317 4318 4319 4320 4321 4322 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4316 def update!(**args) @numeric_filter_option = args[:numeric_filter_option] if args.key?(:numeric_filter_option) @source_max_precision_filter = args[:source_max_precision_filter] if args.key?(:source_max_precision_filter) @source_max_scale_filter = args[:source_max_scale_filter] if args.key?(:source_max_scale_filter) @source_min_precision_filter = args[:source_min_precision_filter] if args.key?(:source_min_precision_filter) @source_min_scale_filter = args[:source_min_scale_filter] if args.key?(:source_min_scale_filter) end |