Class: Google::Apis::DatamigrationV1::PackageEntity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::PackageEntity
 
- 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
Package's parent is a schema.
Instance Attribute Summary collapse
- 
  
    
      #custom_features  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom engine specific features. 
- 
  
    
      #package_body  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The SQL code which creates the package body. 
- 
  
    
      #package_sql_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The SQL code which creates the package. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PackageEntity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PackageEntity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ PackageEntity
Returns a new instance of PackageEntity.
| 3313 3314 3315 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3313 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Corresponds to the JSON property customFeatures
| 3300 3301 3302 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3300 def custom_features @custom_features end | 
#package_body ⇒ String
The SQL code which creates the package body. If the package specification has
cursors or subprograms, then the package body is mandatory.
Corresponds to the JSON property packageBody
| 3306 3307 3308 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3306 def package_body @package_body end | 
#package_sql_code ⇒ String
The SQL code which creates the package.
Corresponds to the JSON property packageSqlCode
| 3311 3312 3313 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3311 def package_sql_code @package_sql_code end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3318 3319 3320 3321 3322 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3318 def update!(**args) @custom_features = args[:custom_features] if args.key?(:custom_features) @package_body = args[:package_body] if args.key?(:package_body) @package_sql_code = args[:package_sql_code] if args.key?(:package_sql_code) end |