Class: Google::Apis::DatamigrationV1::FilterTableColumns
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::FilterTableColumns
 
- 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
Options to configure rule type FilterTableColumns. The rule is used to filter the list of columns to include or exclude from a table. The rule filter field can refer to one entity. The rule scope can be: Table Only one of the two lists can be specified for the rule.
Instance Attribute Summary collapse
- 
  
    
      #exclude_columns  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #include_columns  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FilterTableColumns 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FilterTableColumns. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ FilterTableColumns
Returns a new instance of FilterTableColumns.
| 1887 1888 1889 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1887 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#exclude_columns ⇒ Array<String>
Optional. List of columns to be excluded for a particular table.
Corresponds to the JSON property excludeColumns
| 1880 1881 1882 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1880 def exclude_columns @exclude_columns end | 
#include_columns ⇒ Array<String>
Optional. List of columns to be included for a particular table.
Corresponds to the JSON property includeColumns
| 1885 1886 1887 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1885 def include_columns @include_columns end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1892 1893 1894 1895 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1892 def update!(**args) @exclude_columns = args[:exclude_columns] if args.key?(:exclude_columns) @include_columns = args[:include_columns] if args.key?(:include_columns) end |