# SourceObjectIdentifier

- [JSON representation](https://docs.cloud.google.com/database-migration/docs/reference/rest/v1/SourceObjectIdentifier#SCHEMA_REPRESENTATION)
- [MigrationJobObjectType](https://docs.cloud.google.com/database-migration/docs/reference/rest/v1/SourceObjectIdentifier#MigrationJobObjectType)

An identifier for the Migration Job Object.

| JSON representation |
|---|
| ``` { "database": string, "schema": string, "table": string, "type": enum (`https://docs.cloud.google.com/database-migration/docs/reference/rest/v1/SourceObjectIdentifier#MigrationJobObjectType`) } ``` |

| Fields ||
|---|---|
| `database` | `string` Optional. The database name. This will be required only if the object uses a database name as part of its unique identifier. |
| `schema` | `string` Optional. The schema name. This will be required only if the object uses a schema name as part of its unique identifier. |
| `table` | `string` Optional. The table name. This will be required only if the object is a level below database or schema. |
| `type` | ``enum (`https://docs.cloud.google.com/database-migration/docs/reference/rest/v1/SourceObjectIdentifier#MigrationJobObjectType`)`` Required. The type of the migration job object. |

## MigrationJobObjectType

The type of the migration job object.

| Enums ||
|---|---|
| `MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED` | The type of the migration job object is unknown. |
| `DATABASE` | The migration job object is a database. |
| `SCHEMA` | The migration job object is a schema. |
| `TABLE` | The migration job object is a table. |