Class: Google::Apis::DatamigrationV1::SynonymEntity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::SynonymEntity
 
- 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
Synonym's parent is a schema.
Instance Attribute Summary collapse
- 
  
    
      #custom_features  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom engine specific features. 
- 
  
    
      #source_entity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the entity for which the synonym is being created (the source). 
- 
  
    
      #source_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the entity for which the synonym is being created (usually a table or a sequence). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SynonymEntity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SynonymEntity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ SynonymEntity
Returns a new instance of SynonymEntity.
| 4676 4677 4678 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4676 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Corresponds to the JSON property customFeatures
| 4663 4664 4665 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4663 def custom_features @custom_features end | 
#source_entity ⇒ String
The name of the entity for which the synonym is being created (the source).
Corresponds to the JSON property sourceEntity
| 4668 4669 4670 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4668 def source_entity @source_entity end | 
#source_type ⇒ String
The type of the entity for which the synonym is being created (usually a table
or a sequence).
Corresponds to the JSON property sourceType
| 4674 4675 4676 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4674 def source_type @source_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4681 4682 4683 4684 4685 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4681 def update!(**args) @custom_features = args[:custom_features] if args.key?(:custom_features) @source_entity = args[:source_entity] if args.key?(:source_entity) @source_type = args[:source_type] if args.key?(:source_type) end |