Class: Google::Apis::DatamigrationV1::SinglePackageChange
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::SinglePackageChange
 
- 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 SinglePackageChange. The rule is used to alter the sql code for a package entities. The rule filter field can refer to one entity. The rule scope can be: Package
Instance Attribute Summary collapse
- 
  
    
      #package_body  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #package_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SinglePackageChange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SinglePackageChange. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ SinglePackageChange
Returns a new instance of SinglePackageChange.
| 4266 4267 4268 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4266 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#package_body ⇒ String
Optional. Sql code for package body
Corresponds to the JSON property packageBody
| 4259 4260 4261 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4259 def package_body @package_body end | 
#package_description ⇒ String
Optional. Sql code for package description
Corresponds to the JSON property packageDescription
| 4264 4265 4266 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4264 def package_description @package_description end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4271 4272 4273 4274 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4271 def update!(**args) @package_body = args[:package_body] if args.key?(:package_body) @package_description = args[:package_description] if args.key?(:package_description) end |