Class: Google::Apis::DatamigrationV1::ConditionalColumnSetValue
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::ConditionalColumnSetValue
 
- 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 ConditionalColumnSetValue. The rule is used to transform the data which is being replicated/migrated. The rule filter field can refer to one or more entities. The rule scope can be one of: Column.
Instance Attribute Summary collapse
- 
  
    
      #custom_features  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #source_numeric_filter  ⇒ Google::Apis::DatamigrationV1::SourceNumericFilter 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Filter for fixed point number data types such as NUMERIC/NUMBER Corresponds to the JSON property sourceNumericFilter.
- 
  
    
      #source_text_filter  ⇒ Google::Apis::DatamigrationV1::SourceTextFilter 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Filter for text-based data types like varchar. 
- 
  
    
      #value_transformation  ⇒ Google::Apis::DatamigrationV1::ValueTransformation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Description of data transformation during migration as part of the ConditionalColumnSetValue. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ConditionalColumnSetValue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ConditionalColumnSetValue. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ConditionalColumnSetValue
Returns a new instance of ConditionalColumnSetValue.
| 837 838 839 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 837 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#custom_features ⇒ Hash<String,Object>
Optional. Custom engine specific features.
Corresponds to the JSON property customFeatures
| 819 820 821 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 819 def custom_features @custom_features end | 
#source_numeric_filter ⇒ Google::Apis::DatamigrationV1::SourceNumericFilter
Filter for fixed point number data types such as NUMERIC/NUMBER
Corresponds to the JSON property sourceNumericFilter
| 824 825 826 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 824 def source_numeric_filter @source_numeric_filter end | 
#source_text_filter ⇒ Google::Apis::DatamigrationV1::SourceTextFilter
Filter for text-based data types like varchar.
Corresponds to the JSON property sourceTextFilter
| 829 830 831 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 829 def source_text_filter @source_text_filter end | 
#value_transformation ⇒ Google::Apis::DatamigrationV1::ValueTransformation
Description of data transformation during migration as part of the
ConditionalColumnSetValue.
Corresponds to the JSON property valueTransformation
| 835 836 837 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 835 def value_transformation @value_transformation end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 842 843 844 845 846 847 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 842 def update!(**args) @custom_features = args[:custom_features] if args.key?(:custom_features) @source_numeric_filter = args[:source_numeric_filter] if args.key?(:source_numeric_filter) @source_text_filter = args[:source_text_filter] if args.key?(:source_text_filter) @value_transformation = args[:value_transformation] if args.key?(:value_transformation) end |