Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::DatabaseEntity (v0.3.0)

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_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_type

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

#entity_type=

def entity_type=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
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.

#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

#view

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

#view=

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