Class CreateMappingRuleRequest (1.12.4)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
CreateMappingRuleRequest ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Request message for 'CreateMappingRule' command.
Attributes
Name
Description
parent
str
Required. The parent which owns this
collection of mapping rules.
mapping_rule_id
str
Required. The ID of the rule to create.
mapping_rule
google.cloud.clouddms_v1.types.MappingRule
Required. Represents a [mapping rule]
(https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules)
object.
request_id
str
A unique ID used to identify the request. If the server
receives two requests with the same ID, then the second
request is ignored.
It is recommended to always set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). The maximum length is 40
characters.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class CreateMappingRuleRequest (1.12.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.12.4 (latest)](/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.12.2](/python/docs/reference/datamigration/1.12.2/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.11.0](/python/docs/reference/datamigration/1.11.0/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.10.1](/python/docs/reference/datamigration/1.10.1/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.9.5](/python/docs/reference/datamigration/1.9.5/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.8.0](/python/docs/reference/datamigration/1.8.0/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.7.1](/python/docs/reference/datamigration/1.7.1/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.6.2](/python/docs/reference/datamigration/1.6.2/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.5.0](/python/docs/reference/datamigration/1.5.0/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.4.3](/python/docs/reference/datamigration/1.4.3/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.3.2](/python/docs/reference/datamigration/1.3.2/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.2.1](/python/docs/reference/datamigration/1.2.1/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.1.0](/python/docs/reference/datamigration/1.1.0/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [1.0.2](/python/docs/reference/datamigration/1.0.2/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [0.2.4](/python/docs/reference/datamigration/0.2.4/google.cloud.clouddms_v1.types.CreateMappingRuleRequest)\n- [0.1.0](/python/docs/reference/datamigration/0.1.0/google.cloud.clouddms_v1.types.CreateMappingRuleRequest) \n\n CreateMappingRuleRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest message for 'CreateMappingRule' command."]]