Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::EntityMapping.
Details of the mappings of a database entity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#draft_entity
def draft_entity() -> ::String
Returns
- (::String) — Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
#draft_entity=
def draft_entity=(value) -> ::String
Parameter
- value (::String) — Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
Returns
- (::String) — Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
#draft_type
def draft_type() -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseEntityType) — Type of draft entity.
#draft_type=
def draft_type=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Parameter
- value (::Google::Cloud::CloudDMS::V1::DatabaseEntityType) — Type of draft entity.
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseEntityType) — Type of draft entity.
#mapping_log
def mapping_log() -> ::Array<::Google::Cloud::CloudDMS::V1::EntityMappingLogEntry>
Returns
- (::Array<::Google::Cloud::CloudDMS::V1::EntityMappingLogEntry>) — Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
#mapping_log=
def mapping_log=(value) -> ::Array<::Google::Cloud::CloudDMS::V1::EntityMappingLogEntry>
Parameter
- value (::Array<::Google::Cloud::CloudDMS::V1::EntityMappingLogEntry>) — Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
Returns
- (::Array<::Google::Cloud::CloudDMS::V1::EntityMappingLogEntry>) — Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
#source_entity
def source_entity() -> ::String
Returns
- (::String) — Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
#source_entity=
def source_entity=(value) -> ::String
Parameter
- value (::String) — Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
Returns
- (::String) — Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
#source_type
def source_type() -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseEntityType) — Type of source entity.
#source_type=
def source_type=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Parameter
- value (::Google::Cloud::CloudDMS::V1::DatabaseEntityType) — Type of source entity.
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseEntityType) — Type of source entity.