Class: Google::Apis::DatamigrationV1::UdtEntity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::UdtEntity
 
- 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
UDT's parent is a schema.
Instance Attribute Summary collapse
- 
  
    
      #custom_features  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom engine specific features. 
- 
  
    
      #udt_body  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The SQL code which creates the udt body. 
- 
  
    
      #udt_sql_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The SQL code which creates the udt. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UdtEntity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UdtEntity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ UdtEntity
Returns a new instance of UdtEntity.
| 4860 4861 4862 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4860 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Corresponds to the JSON property customFeatures
| 4848 4849 4850 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4848 def custom_features @custom_features end | 
#udt_body ⇒ String
The SQL code which creates the udt body.
Corresponds to the JSON property udtBody
| 4853 4854 4855 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4853 def udt_body @udt_body end | 
#udt_sql_code ⇒ String
The SQL code which creates the udt.
Corresponds to the JSON property udtSqlCode
| 4858 4859 4860 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4858 def udt_sql_code @udt_sql_code end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4865 4866 4867 4868 4869 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4865 def update!(**args) @custom_features = args[:custom_features] if args.key?(:custom_features) @udt_body = args[:udt_body] if args.key?(:udt_body) @udt_sql_code = args[:udt_sql_code] if args.key?(:udt_sql_code) end |