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.
getSourceEntity
Source entity full name.
The source entity can also be a column, index or constraint using the
same naming notation schema.table.column.
Returns
Type
Description
string
setSourceEntity
Source entity full name.
The source entity can also be a column, index or constraint using the
same naming notation schema.table.column.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDraftEntity
Target entity full name.
The draft entity can also include a column, index or constraint using the
same naming notation schema.table.column.
Returns
Type
Description
string
setDraftEntity
Target entity full name.
The draft entity can also include a column, index or constraint using the
same naming notation schema.table.column.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSourceType
Type of source entity.
Returns
Type
Description
int
setSourceType
Type of source entity.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getDraftType
Type of draft entity.
Returns
Type
Description
int
setDraftType
Type of draft entity.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMappingLog
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dms V1 Client - Class EntityMapping (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.EntityMapping)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.EntityMapping)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.EntityMapping)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.EntityMapping)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.EntityMapping)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.EntityMapping)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.EntityMapping)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.EntityMapping) \nReference documentation and code samples for the Google Cloud Dms V1 Client class EntityMapping.\n\nDetails of the mappings of a database entity.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.EntityMapping`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceEntity\n\nSource entity full name.\n\nThe source entity can also be a column, index or constraint using the\nsame naming notation schema.table.column.\n\n### setSourceEntity\n\nSource entity full name.\n\nThe source entity can also be a column, index or constraint using the\nsame naming notation schema.table.column.\n\n### getDraftEntity\n\nTarget entity full name.\n\nThe draft entity can also include a column, index or constraint using the\nsame naming notation schema.table.column.\n\n### setDraftEntity\n\nTarget entity full name.\n\nThe draft entity can also include a column, index or constraint using the\nsame naming notation schema.table.column.\n\n### getSourceType\n\nType of source entity.\n\n### setSourceType\n\nType of source entity.\n\n### getDraftType\n\nType of draft entity.\n\n### setDraftType\n\nType of draft entity.\n\n### getMappingLog\n\nEntity mapping log entries.\n\nMultiple rules can be effective and contribute changes to a converted\nentity, such as a rule can handle the entity name, another rule can handle\nan entity type. In addition, rules which did not change the entity are also\nlogged along with the reason preventing them to do so.\n\n### setMappingLog\n\nEntity mapping log entries.\n\nMultiple rules can be effective and contribute changes to a converted\nentity, such as a rule can handle the entity name, another rule can handle\nan entity type. In addition, rules which did not change the entity are also\nlogged along with the reason preventing them to do so."]]