Reference documentation and code samples for the Google Cloud Dms V1 Client class EntityMapping.
Details of the mappings of a database entity.
Generated from protobuf message google.cloud.clouddms.v1.EntityMapping
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_entity
string
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
string
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
int
Type of source entity.
↳ draft_type
int
Type of draft entity.
↳ mapping_log
array< Google\Cloud\CloudDms\V1\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.
getSourceEntity
Source entity full name.
The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
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.
var
string
$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.
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.
var
string
$this
getSourceType
Type of source entity.
int
setSourceType
Type of source entity.
var
int
$this
getDraftType
Type of draft entity.
int
setDraftType
Type of draft entity.
var
int
$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.
setMappingLog
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.
$this