Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::DatabaseEntity (v1.0.1)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#database

def database() -> ::Google::Cloud::CloudDMS::V1::DatabaseInstanceEntity

#database=

def database=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseInstanceEntity

#database_function

def database_function() -> ::Google::Cloud::CloudDMS::V1::FunctionEntity

#database_function=

def database_function=(value) -> ::Google::Cloud::CloudDMS::V1::FunctionEntity
Parameter

#database_package

def database_package() -> ::Google::Cloud::CloudDMS::V1::PackageEntity

#database_package=

def database_package=(value) -> ::Google::Cloud::CloudDMS::V1::PackageEntity
Parameter

#entity_ddl

def entity_ddl() -> ::Array<::Google::Cloud::CloudDMS::V1::EntityDdl>
Returns
  • (::Array<::Google::Cloud::CloudDMS::V1::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.

#entity_ddl=

def entity_ddl=(value) -> ::Array<::Google::Cloud::CloudDMS::V1::EntityDdl>
Parameter
  • value (::Array<::Google::Cloud::CloudDMS::V1::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.
Returns
  • (::Array<::Google::Cloud::CloudDMS::V1::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.

#entity_type

def entity_type() -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Returns

#entity_type=

def entity_type=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Parameter
Returns

#issues

def issues() -> ::Array<::Google::Cloud::CloudDMS::V1::EntityIssue>
Returns

#issues=

def issues=(value) -> ::Array<::Google::Cloud::CloudDMS::V1::EntityIssue>
Parameter
Returns

#mappings

def mappings() -> ::Array<::Google::Cloud::CloudDMS::V1::EntityMapping>
Returns
  • (::Array<::Google::Cloud::CloudDMS::V1::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.

#mappings=

def mappings=(value) -> ::Array<::Google::Cloud::CloudDMS::V1::EntityMapping>
Parameter
  • value (::Array<::Google::Cloud::CloudDMS::V1::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.
Returns
  • (::Array<::Google::Cloud::CloudDMS::V1::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.

#materialized_view

def materialized_view() -> ::Google::Cloud::CloudDMS::V1::MaterializedViewEntity

#materialized_view=

def materialized_view=(value) -> ::Google::Cloud::CloudDMS::V1::MaterializedViewEntity
Parameter

#parent_entity

def parent_entity() -> ::String
Returns
  • (::String) — The full name of the parent entity (e.g. schema name).

#parent_entity=

def parent_entity=(value) -> ::String
Parameter
  • value (::String) — The full name of the parent entity (e.g. schema name).
Returns
  • (::String) — The full name of the parent entity (e.g. schema name).

#schema

def schema() -> ::Google::Cloud::CloudDMS::V1::SchemaEntity

#schema=

def schema=(value) -> ::Google::Cloud::CloudDMS::V1::SchemaEntity
Parameter

#sequence

def sequence() -> ::Google::Cloud::CloudDMS::V1::SequenceEntity

#sequence=

def sequence=(value) -> ::Google::Cloud::CloudDMS::V1::SequenceEntity
Parameter

#short_name

def short_name() -> ::String
Returns
  • (::String) — The short name (e.g. table name) of the entity.

#short_name=

def short_name=(value) -> ::String
Parameter
  • value (::String) — The short name (e.g. table name) of the entity.
Returns
  • (::String) — The short name (e.g. table name) of the entity.

#stored_procedure

def stored_procedure() -> ::Google::Cloud::CloudDMS::V1::StoredProcedureEntity

#stored_procedure=

def stored_procedure=(value) -> ::Google::Cloud::CloudDMS::V1::StoredProcedureEntity
Parameter

#synonym

def synonym() -> ::Google::Cloud::CloudDMS::V1::SynonymEntity

#synonym=

def synonym=(value) -> ::Google::Cloud::CloudDMS::V1::SynonymEntity
Parameter

#table

def table() -> ::Google::Cloud::CloudDMS::V1::TableEntity

#table=

def table=(value) -> ::Google::Cloud::CloudDMS::V1::TableEntity
Parameter

#tree

def tree() -> ::Google::Cloud::CloudDMS::V1::DatabaseEntity::TreeType
Returns

#tree=

def tree=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseEntity::TreeType
Parameter
Returns

#udt

def udt() -> ::Google::Cloud::CloudDMS::V1::UDTEntity

#udt=

def udt=(value) -> ::Google::Cloud::CloudDMS::V1::UDTEntity
Parameter

#view

def view() -> ::Google::Cloud::CloudDMS::V1::ViewEntity

#view=

def view=(value) -> ::Google::Cloud::CloudDMS::V1::ViewEntity
Parameter