Class DatabaseEntity
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.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class DatabaseEntity : IDirectResponseSchema
Properties
Database
Database.
Declaration
[JsonProperty("database")]
public virtual DatabaseInstanceEntity Database { get; set; }
Property Value
Type | Description |
---|---|
DatabaseInstanceEntity |
DatabaseFunction
Function.
Declaration
[JsonProperty("databaseFunction")]
public virtual FunctionEntity DatabaseFunction { get; set; }
Property Value
Type | Description |
---|---|
FunctionEntity |
DatabasePackage
Package.
Declaration
[JsonProperty("databasePackage")]
public virtual PackageEntity DatabasePackage { get; set; }
Property Value
Type | Description |
---|---|
PackageEntity |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("entityDdl")]
public virtual IList<EntityDdl> EntityDdl { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityDdl> |
EntityType
The type of the database entity (table, view, index, ...).
Declaration
[JsonProperty("entityType")]
public virtual string EntityType { get; set; }
Property Value
Type | Description |
---|---|
string |
Issues
Details about the various issues found for the entity.
Declaration
[JsonProperty("issues")]
public virtual IList<EntityIssue> Issues { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityIssue> |
Mappings
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.
Declaration
[JsonProperty("mappings")]
public virtual IList<EntityMapping> Mappings { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityMapping> |
MaterializedView
Materialized view.
Declaration
[JsonProperty("materializedView")]
public virtual MaterializedViewEntity MaterializedView { get; set; }
Property Value
Type | Description |
---|---|
MaterializedViewEntity |
ParentEntity
The full name of the parent entity (e.g. schema name).
Declaration
[JsonProperty("parentEntity")]
public virtual string ParentEntity { get; set; }
Property Value
Type | Description |
---|---|
string |
Schema
Schema.
Declaration
[JsonProperty("schema")]
public virtual SchemaEntity Schema { get; set; }
Property Value
Type | Description |
---|---|
SchemaEntity |
Sequence
Sequence.
Declaration
[JsonProperty("sequence")]
public virtual SequenceEntity Sequence { get; set; }
Property Value
Type | Description |
---|---|
SequenceEntity |
ShortName
The short name (e.g. table name) of the entity.
Declaration
[JsonProperty("shortName")]
public virtual string ShortName { get; set; }
Property Value
Type | Description |
---|---|
string |
StoredProcedure
Stored procedure.
Declaration
[JsonProperty("storedProcedure")]
public virtual StoredProcedureEntity StoredProcedure { get; set; }
Property Value
Type | Description |
---|---|
StoredProcedureEntity |
Synonym
Synonym.
Declaration
[JsonProperty("synonym")]
public virtual SynonymEntity Synonym { get; set; }
Property Value
Type | Description |
---|---|
SynonymEntity |
Table
Table.
Declaration
[JsonProperty("table")]
public virtual TableEntity Table { get; set; }
Property Value
Type | Description |
---|---|
TableEntity |
Tree
The type of tree the entity belongs to.
Declaration
[JsonProperty("tree")]
public virtual string Tree { get; set; }
Property Value
Type | Description |
---|---|
string |
Udt
UDT.
Declaration
[JsonProperty("udt")]
public virtual UDTEntity Udt { get; set; }
Property Value
Type | Description |
---|---|
UDTEntity |
View
View.
Declaration
[JsonProperty("view")]
public virtual ViewEntity View { get; set; }
Property Value
Type | Description |
---|---|
ViewEntity |