# Class MysqlSourceConfig (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

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

MySQL source configuration

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** |
| `include_objects` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.MysqlRdbms` MySQL objects to retrieve from the source. |
| `exclude_objects` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.MysqlRdbms` MySQL objects to exclude from the stream. |
| `max_concurrent_cdc_tasks` | `int` Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used. |
| `max_concurrent_backfill_tasks` | `int` Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used. |
| `binary_log_position` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.MysqlSourceConfig.BinaryLogPosition` Use Binary log position based replication. This field is a member of `oneof`_ `cdc_method`. |
| `gtid` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.MysqlSourceConfig.Gtid` Use GTID based replication. This field is a member of `oneof`_ `cdc_method`. |

## Classes

### BinaryLogPosition

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

Use Binary log position based replication.

### Gtid

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

Use GTID based replication.