# SourceObjectIdentifier

- [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SCHEMA_REPRESENTATION)
- [OracleObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#OracleObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#OracleObjectIdentifier.SCHEMA_REPRESENTATION)
- [MysqlObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MysqlObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MysqlObjectIdentifier.SCHEMA_REPRESENTATION)
- [PostgresqlObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#PostgresqlObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#PostgresqlObjectIdentifier.SCHEMA_REPRESENTATION)
- [SqlServerObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SqlServerObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SqlServerObjectIdentifier.SCHEMA_REPRESENTATION)
- [SalesforceObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SalesforceObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SalesforceObjectIdentifier.SCHEMA_REPRESENTATION)
- [MongodbObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MongodbObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MongodbObjectIdentifier.SCHEMA_REPRESENTATION)
- [SpannerObjectIdentifier](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SpannerObjectIdentifier)
  - [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SpannerObjectIdentifier.SCHEMA_REPRESENTATION)

Represents an identifier of an object in the data source.

| JSON representation |
|---|
| ``` { // Union field `source_identifier` can be only one of the following: "oracleIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#OracleObjectIdentifier`) }, "mysqlIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MysqlObjectIdentifier`) }, "postgresqlIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#PostgresqlObjectIdentifier`) }, "sqlServerIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SqlServerObjectIdentifier`) }, "salesforceIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SalesforceObjectIdentifier`) }, "mongodbIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MongodbObjectIdentifier`) }, "spannerIdentifier": { object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SpannerObjectIdentifier`) } // End of list of possible types for union field `source_identifier`. } ``` |

| Fields ||
|---|---|
| Union field `source_identifier`. The identifier for an object in the data source. `source_identifier` can be only one of the following: ||
| `oracleIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#OracleObjectIdentifier`)`` Oracle data source object identifier. |
| `mysqlIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MysqlObjectIdentifier`)`` Mysql data source object identifier. |
| `postgresqlIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#PostgresqlObjectIdentifier`)`` PostgreSQL data source object identifier. |
| `sqlServerIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SqlServerObjectIdentifier`)`` SQLServer data source object identifier. |
| `salesforceIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SalesforceObjectIdentifier`)`` Salesforce data source object identifier. |
| `mongodbIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#MongodbObjectIdentifier`)`` MongoDB data source object identifier. |
| `spannerIdentifier` | ``object (`https://docs.cloud.google.com/datastream/docs/reference/rest/v1/SourceObjectIdentifier#SpannerObjectIdentifier`)`` Spanner data source object identifier. |

## OracleObjectIdentifier

Oracle data source object identifier.

| JSON representation |
|---|
| ``` { "schema": string, "table": string } ``` |

| Fields ||
|---|---|
| `schema` | `string` Required. The schema name. |
| `table` | `string` Required. The table name. |

## MysqlObjectIdentifier

Mysql data source object identifier.

| JSON representation |
|---|
| ``` { "database": string, "table": string } ``` |

| Fields ||
|---|---|
| `database` | `string` Required. The database name. |
| `table` | `string` Required. The table name. |

## PostgresqlObjectIdentifier

PostgreSQL data source object identifier.

| JSON representation |
|---|
| ``` { "schema": string, "table": string } ``` |

| Fields ||
|---|---|
| `schema` | `string` Required. The schema name. |
| `table` | `string` Required. The table name. |

## SqlServerObjectIdentifier

SQLServer data source object identifier.

| JSON representation |
|---|
| ``` { "schema": string, "table": string } ``` |

| Fields ||
|---|---|
| `schema` | `string` Required. The schema name. |
| `table` | `string` Required. The table name. |

## SalesforceObjectIdentifier

Salesforce data source object identifier.

| JSON representation |
|---|
| ``` { "objectName": string } ``` |

| Fields ||
|---|---|
| `objectName` | `string` Required. The object name. |

## MongodbObjectIdentifier

MongoDB data source object identifier.

| JSON representation |
|---|
| ``` { "database": string, "collection": string } ``` |

| Fields ||
|---|---|
| `database` | `string` Required. The database name. |
| `collection` | `string` Required. The collection name. |

## SpannerObjectIdentifier

Spanner data source object identifier.

| JSON representation |
|---|
| ``` { "schema": string, "table": string } ``` |

| Fields ||
|---|---|
| `schema` | `string` Optional. The schema name. |
| `table` | `string` Required. The table name. |