# Class SourceConfig (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

    SourceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration of the stream source.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `source_connection_profile` | `str` Required. Source connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}` |
| `oracle_source_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.OracleSourceConfig` Oracle data source configuration. This field is a member of `oneof`_ `source_stream_config`. |
| `mysql_source_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.MysqlSourceConfig` MySQL data source configuration. This field is a member of `oneof`_ `source_stream_config`. |
| `postgresql_source_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.PostgresqlSourceConfig` PostgreSQL data source configuration. This field is a member of `oneof`_ `source_stream_config`. |
| `sql_server_source_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.SqlServerSourceConfig` SQLServer data source configuration. This field is a member of `oneof`_ `source_stream_config`. |
| `salesforce_source_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.SalesforceSourceConfig` Salesforce data source configuration. This field is a member of `oneof`_ `source_stream_config`. |
| `mongodb_source_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.MongodbSourceConfig` MongoDB data source configuration. This field is a member of `oneof`_ `source_stream_config`. |