Class NameMappingKey (0.10.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

NameDescription
type_ 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.

Values: TYPE_UNSPECIFIED (0): Unspecified name mapping type. DATABASE (1): The object being mapped is a database. SCHEMA (2): The object being mapped is a schema. RELATION (3): The object being mapped is a relation. ATTRIBUTE (4): The object being mapped is an attribute. RELATION_ALIAS (5): The object being mapped is a relation alias. ATTRIBUTE_ALIAS (6): The object being mapped is a an attribute alias. FUNCTION (7): The object being mapped is a function.