# Datastream V1 API - Class Google::Cloud::Datastream::V1::SourceObjectIdentifier (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SourceObjectIdentifier.

Represents an identifier of an object in the data source.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #mongodb_identifier

    def mongodb_identifier() -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MongodbObjectIdentifier

**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MongodbObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-MongodbObjectIdentifier)) --- MongoDB data source object identifier.


  Note: The following fields are mutually exclusive: `mongodb_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mongodb_identifier=

    def mongodb_identifier=(value) -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MongodbObjectIdentifier

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MongodbObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-MongodbObjectIdentifier)) --- MongoDB data source object identifier.


  Note: The following fields are mutually exclusive: `mongodb_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MongodbObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-MongodbObjectIdentifier)) --- MongoDB data source object identifier.


  Note: The following fields are mutually exclusive: `mongodb_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_identifier

    def mysql_identifier() -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier

**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-MysqlObjectIdentifier)) --- Mysql data source object identifier.


  Note: The following fields are mutually exclusive: `mysql_identifier`, `oracle_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_identifier=

    def mysql_identifier=(value) -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-MysqlObjectIdentifier)) --- Mysql data source object identifier.


  Note: The following fields are mutually exclusive: `mysql_identifier`, `oracle_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-MysqlObjectIdentifier)) --- Mysql data source object identifier.


  Note: The following fields are mutually exclusive: `mysql_identifier`, `oracle_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_identifier

    def oracle_identifier() -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::OracleObjectIdentifier

**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::OracleObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-OracleObjectIdentifier)) --- Oracle data source object identifier.


  Note: The following fields are mutually exclusive: `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_identifier=

    def oracle_identifier=(value) -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::OracleObjectIdentifier

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::OracleObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-OracleObjectIdentifier)) --- Oracle data source object identifier.


  Note: The following fields are mutually exclusive: `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::OracleObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-OracleObjectIdentifier)) --- Oracle data source object identifier.


  Note: The following fields are mutually exclusive: `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #postgresql_identifier

    def postgresql_identifier() -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier

**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-PostgresqlObjectIdentifier)) --- PostgreSQL data source object identifier.


  Note: The following fields are mutually exclusive: `postgresql_identifier`, `oracle_identifier`, `mysql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #postgresql_identifier=

    def postgresql_identifier=(value) -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-PostgresqlObjectIdentifier)) --- PostgreSQL data source object identifier.


  Note: The following fields are mutually exclusive: `postgresql_identifier`, `oracle_identifier`, `mysql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-PostgresqlObjectIdentifier)) --- PostgreSQL data source object identifier.


  Note: The following fields are mutually exclusive: `postgresql_identifier`, `oracle_identifier`, `mysql_identifier`, `sql_server_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #salesforce_identifier

    def salesforce_identifier() -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SalesforceObjectIdentifier

**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SalesforceObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-SalesforceObjectIdentifier)) --- Salesforce data source object identifier.


  Note: The following fields are mutually exclusive: `salesforce_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #salesforce_identifier=

    def salesforce_identifier=(value) -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SalesforceObjectIdentifier

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SalesforceObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-SalesforceObjectIdentifier)) --- Salesforce data source object identifier.


  Note: The following fields are mutually exclusive: `salesforce_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SalesforceObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-SalesforceObjectIdentifier)) --- Salesforce data source object identifier.


  Note: The following fields are mutually exclusive: `salesforce_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_identifier

    def sql_server_identifier() -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier

**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-SqlServerObjectIdentifier)) --- SQLServer data source object identifier.


  Note: The following fields are mutually exclusive: `sql_server_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_identifier=

    def sql_server_identifier=(value) -> ::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-SqlServerObjectIdentifier)) --- SQLServer data source object identifier.


  Note: The following fields are mutually exclusive: `sql_server_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SourceObjectIdentifier-SqlServerObjectIdentifier)) --- SQLServer data source object identifier.


  Note: The following fields are mutually exclusive: `sql_server_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `salesforce_identifier`, `mongodb_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.