Class: Google::Apis::DatamigrationV1::ImportMappingRulesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::ImportMappingRulesRequest
 
- 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
Request message for 'ImportMappingRules' request.
Instance Attribute Summary collapse
- 
  
    
      #auto_commit  ⇒ Boolean 
    
    
      (also: #auto_commit?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #rules_files  ⇒ Array<Google::Apis::DatamigrationV1::RulesFile> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #rules_format  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ImportMappingRulesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ImportMappingRulesRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ImportMappingRulesRequest
Returns a new instance of ImportMappingRulesRequest.
| 2126 2127 2128 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2126 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#auto_commit ⇒ Boolean Also known as: auto_commit?
Required. Should the conversion workspace be committed automatically after the
import operation.
Corresponds to the JSON property autoCommit
| 2113 2114 2115 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2113 def auto_commit @auto_commit end | 
#rules_files ⇒ Array<Google::Apis::DatamigrationV1::RulesFile>
Required. One or more rules files.
Corresponds to the JSON property rulesFiles
| 2119 2120 2121 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2119 def rules_files @rules_files end | 
#rules_format ⇒ String
Required. The format of the rules content file.
Corresponds to the JSON property rulesFormat
| 2124 2125 2126 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2124 def rules_format @rules_format end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2131 2132 2133 2134 2135 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2131 def update!(**args) @auto_commit = args[:auto_commit] if args.key?(:auto_commit) @rules_files = args[:rules_files] if args.key?(:rules_files) @rules_format = args[:rules_format] if args.key?(:rules_format) end |