Class EntityMapping (1.10.0)

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

Details of the mappings of a database entity.

Attributes

Name Description
source_entity str
Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
draft_entity str
Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
source_type google.cloud.clouddms_v1.types.DatabaseEntityType
Type of source entity.
draft_type google.cloud.clouddms_v1.types.DatabaseEntityType
Type of draft entity.
mapping_log MutableSequence[google.cloud.clouddms_v1.types.EntityMappingLogEntry]
Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.