View Source GoogleApi.DataMigration.V1.Model.EntityMapping (google_api_data_migration v0.11.0)

Details of the mappings of a database entity.

Attributes

  • draftEntity (type: String.t, default: nil) - Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
  • draftType (type: String.t, default: nil) - Type of draft entity.
  • mappingLog (type: list(GoogleApi.DataMigration.V1.Model.EntityMappingLogEntry.t), default: nil) - 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.
  • sourceEntity (type: String.t, default: nil) - Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
  • sourceType (type: String.t, default: nil) - Type of source entity.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DataMigration.V1.Model.EntityMapping{
  draftEntity: String.t() | nil,
  draftType: String.t() | nil,
  mappingLog:
    [GoogleApi.DataMigration.V1.Model.EntityMappingLogEntry.t()] | nil,
  sourceEntity: String.t() | nil,
  sourceType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.