Class: Google::Apis::DatamigrationV1::ImportMappingRulesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportMappingRulesRequest

Returns a new instance of ImportMappingRulesRequest.



2094
2095
2096
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2094

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auto_commitBoolean Also known as: auto_commit?

Required. Should the conversion workspace be committed automatically after the import operation. Corresponds to the JSON property autoCommit

Returns:

  • (Boolean)


2081
2082
2083
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2081

def auto_commit
  @auto_commit
end

#rules_filesArray<Google::Apis::DatamigrationV1::RulesFile>

Required. One or more rules files. Corresponds to the JSON property rulesFiles



2087
2088
2089
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2087

def rules_files
  @rules_files
end

#rules_formatString

Required. The format of the rules content file. Corresponds to the JSON property rulesFormat

Returns:

  • (String)


2092
2093
2094
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2092

def rules_format
  @rules_format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2099
2100
2101
2102
2103
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2099

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