# Class ImportMappingRulesRequest (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    ImportMappingRulesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for 'ImportMappingRules' request.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
| `rules_format` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.ImportRulesFileFormat` Required. The format of the rules content file. |
| `rules_files` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.ImportMappingRulesRequest.RulesFile]` Required. One or more rules files. |
| `auto_commit` | `bool` Required. Should the conversion workspace be committed automatically after the import operation. |

## Classes

### RulesFile

    RulesFile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details of a single rules file.