Google Cloud BigQuery Migration V2 Client - Class Type (0.2.2)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class Type.

The type of the object that is being mapped.

Protobuf type google.cloud.bigquery.migration.v2.NameMappingKey.Type

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Unspecified name mapping type.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

DATABASE

Value: 1

The object being mapped is a database.

Generated from protobuf enum DATABASE = 1;

SCHEMA

Value: 2

The object being mapped is a schema.

Generated from protobuf enum SCHEMA = 2;

RELATION

Value: 3

The object being mapped is a relation.

Generated from protobuf enum RELATION = 3;

ATTRIBUTE

Value: 4

The object being mapped is an attribute.

Generated from protobuf enum ATTRIBUTE = 4;

RELATION_ALIAS

Value: 5

The object being mapped is a relation alias.

Generated from protobuf enum RELATION_ALIAS = 5;

ATTRIBUTE_ALIAS

Value: 6

The object being mapped is a an attribute alias.

Generated from protobuf enum ATTRIBUTE_ALIAS = 6;

PBFUNCTION

Value: 7

The object being mapped is a function.

Generated from protobuf enum FUNCTION = 7;