# Google Cloud Datastream V1 Client - Class SourceObjectIdentifier (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class SourceObjectIdentifier.

Represents an identifier of an object in the data source.

Generated from protobuf message `google.cloud.datastream.v1.SourceObjectIdentifier`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ oracle_identifier` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.OracleObjectIdentifier` Oracle data source object identifier. |
| `↳ mysql_identifier` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.MysqlObjectIdentifier` Mysql data source object identifier. |
| `↳ postgresql_identifier` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.PostgresqlObjectIdentifier` PostgreSQL data source object identifier. |
| `↳ sql_server_identifier` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.SqlServerObjectIdentifier` SQLServer data source object identifier. |
| `↳ salesforce_identifier` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.SalesforceObjectIdentifier` Salesforce data source object identifier. |
| `↳ mongodb_identifier` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.MongodbObjectIdentifier` MongoDB data source object identifier. |

### getOracleIdentifier

Oracle data source object identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.OracleObjectIdentifier|null` |   |

### hasOracleIdentifier

### setOracleIdentifier

Oracle data source object identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.OracleObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMysqlIdentifier

Mysql data source object identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.MysqlObjectIdentifier|null` |   |

### hasMysqlIdentifier

### setMysqlIdentifier

Mysql data source object identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.MysqlObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPostgresqlIdentifier

PostgreSQL data source object identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.PostgresqlObjectIdentifier|null` |   |

### hasPostgresqlIdentifier

### setPostgresqlIdentifier

PostgreSQL data source object identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.PostgresqlObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSqlServerIdentifier

SQLServer data source object identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.SqlServerObjectIdentifier|null` |   |

### hasSqlServerIdentifier

### setSqlServerIdentifier

SQLServer data source object identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.SqlServerObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSalesforceIdentifier

Salesforce data source object identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.SalesforceObjectIdentifier|null` |   |

### hasSalesforceIdentifier

### setSalesforceIdentifier

Salesforce data source object identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.SalesforceObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMongodbIdentifier

MongoDB data source object identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.MongodbObjectIdentifier|null` |   |

### hasMongodbIdentifier

### setMongodbIdentifier

MongoDB data source object identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier.MongodbObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSourceIdentifier

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |