DatabaseEntity(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The base entity type for all the database related entities. The message contains the entity name, the name of its parent, the entity type, and the specific details per entity type.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
short_name |
str
The short name (e.g. table name) of the entity. |
parent_entity |
str
The full name of the parent entity (e.g. schema name). |
tree |
google.cloud.clouddms_v1.types.DatabaseEntity.TreeType
The type of tree the entity belongs to. |
entity_type |
google.cloud.clouddms_v1.types.DatabaseEntityType
The type of the database entity (table, view, index, ...). |
mappings |
MutableSequence[google.cloud.clouddms_v1.types.EntityMapping]
Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details. |
schema |
google.cloud.clouddms_v1.types.SchemaEntity
Schema. This field is a member of oneof _ entity_body .
|
table |
google.cloud.clouddms_v1.types.TableEntity
Table. This field is a member of oneof _ entity_body .
|
view |
google.cloud.clouddms_v1.types.ViewEntity
View. This field is a member of oneof _ entity_body .
|
sequence |
google.cloud.clouddms_v1.types.SequenceEntity
Sequence. This field is a member of oneof _ entity_body .
|
stored_procedure |
google.cloud.clouddms_v1.types.StoredProcedureEntity
Stored procedure. This field is a member of oneof _ entity_body .
|
database_function |
google.cloud.clouddms_v1.types.FunctionEntity
Function. This field is a member of oneof _ entity_body .
|
synonym |
google.cloud.clouddms_v1.types.SynonymEntity
Synonym. This field is a member of oneof _ entity_body .
|
database_package |
google.cloud.clouddms_v1.types.PackageEntity
Package. This field is a member of oneof _ entity_body .
|
Classes
TreeType
TreeType(value)
The type of database entities tree.
Values: TREE_TYPE_UNSPECIFIED (0): Tree type unspecified. SOURCE (1): Tree of entities loaded from a source database. DRAFT (2): Tree of entities converted from the source tree using the mapping rules. DESTINATION (3): Tree of entities observed on the destination database.