Class DatabaseEntity (1.12.2)

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

NameDescription
short_namestr
The short name (e.g. table name) of the entity.
parent_entitystr
The full name of the parent entity (e.g. schema name).
treegoogle.cloud.clouddms_v1.types.DatabaseEntity.TreeType
The type of tree the entity belongs to.
entity_typegoogle.cloud.clouddms_v1.types.DatabaseEntityType
The type of the database entity (table, view, index, ...).
mappingsMutableSequence[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.
entity_ddlMutableSequence[google.cloud.clouddms_v1.types.EntityDdl]
Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.
issuesMutableSequence[google.cloud.clouddms_v1.types.EntityIssue]
Details about the various issues found for the entity.
databasegoogle.cloud.clouddms_v1.types.DatabaseInstanceEntity
Database. This field is a member of oneof_ entity_body.
schemagoogle.cloud.clouddms_v1.types.SchemaEntity
Schema. This field is a member of oneof_ entity_body.
tablegoogle.cloud.clouddms_v1.types.TableEntity
Table. This field is a member of oneof_ entity_body.
viewgoogle.cloud.clouddms_v1.types.ViewEntity
View. This field is a member of oneof_ entity_body.
sequencegoogle.cloud.clouddms_v1.types.SequenceEntity
Sequence. This field is a member of oneof_ entity_body.
stored_proceduregoogle.cloud.clouddms_v1.types.StoredProcedureEntity
Stored procedure. This field is a member of oneof_ entity_body.
database_functiongoogle.cloud.clouddms_v1.types.FunctionEntity
Function. This field is a member of oneof_ entity_body.
synonymgoogle.cloud.clouddms_v1.types.SynonymEntity
Synonym. This field is a member of oneof_ entity_body.
database_packagegoogle.cloud.clouddms_v1.types.PackageEntity
Package. This field is a member of oneof_ entity_body.
udtgoogle.cloud.clouddms_v1.types.UDTEntity
UDT. This field is a member of oneof_ entity_body.
materialized_viewgoogle.cloud.clouddms_v1.types.MaterializedViewEntity
Materialized view. This field is a member of oneof_ entity_body.

Classes

TreeType

TreeType(value)

The type of database entities tree.