# Google Cloud BigQuery Migration V2 Client - Class Type (1.3.0)

1.3.0 (latest) 1.2.3 1.1.5 1.0.0 0.4.5 0.3.3 0.2.2 0.1.4 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`

## Namespace

Google \\ Cloud \\ BigQuery \\ Migration \\ V2 \\ NameMappingKey

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `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;`