# Class NameMappingKey (0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.15 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.3 0.3.1 0.2.1 0.1.0

    NameMappingKey(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The potential components of a full name mapping that will be
mapped during translation in the source data warehouse.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2.types.NameMappingKey.Type` The type of object that is being mapped. |
| `database` | `str` The database name (BigQuery project ID equivalent in the source data warehouse). |
| `schema` | `str` The schema name (BigQuery dataset equivalent in the source data warehouse). |
| `relation` | `str` The relation name (BigQuery table or view equivalent in the source data warehouse). |
| `attribute` | `str` The attribute name (BigQuery column equivalent in the source data warehouse). |

## Classes

### Type

    Type(value)

The type of the object that is being mapped.