Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MysqlSourceConfig.
MySQL source configuration
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#binary_log_position
def binary_log_position() -> ::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition
-
(::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition) — Use Binary log position based replication.
Note: The following fields are mutually exclusive:
binary_log_position
,gtid
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#binary_log_position=
def binary_log_position=(value) -> ::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition
-
value (::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition) — Use Binary log position based replication.
Note: The following fields are mutually exclusive:
binary_log_position
,gtid
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition) — Use Binary log position based replication.
Note: The following fields are mutually exclusive:
binary_log_position
,gtid
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exclude_objects
def exclude_objects() -> ::Google::Cloud::Datastream::V1::MysqlRdbms
- (::Google::Cloud::Datastream::V1::MysqlRdbms) — MySQL objects to exclude from the stream.
#exclude_objects=
def exclude_objects=(value) -> ::Google::Cloud::Datastream::V1::MysqlRdbms
- value (::Google::Cloud::Datastream::V1::MysqlRdbms) — MySQL objects to exclude from the stream.
- (::Google::Cloud::Datastream::V1::MysqlRdbms) — MySQL objects to exclude from the stream.
#gtid
def gtid() -> ::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid
-
(::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid) — Use GTID based replication.
Note: The following fields are mutually exclusive:
gtid
,binary_log_position
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gtid=
def gtid=(value) -> ::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid
-
value (::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid) — Use GTID based replication.
Note: The following fields are mutually exclusive:
gtid
,binary_log_position
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid) — Use GTID based replication.
Note: The following fields are mutually exclusive:
gtid
,binary_log_position
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#include_objects
def include_objects() -> ::Google::Cloud::Datastream::V1::MysqlRdbms
- (::Google::Cloud::Datastream::V1::MysqlRdbms) — MySQL objects to retrieve from the source.
#include_objects=
def include_objects=(value) -> ::Google::Cloud::Datastream::V1::MysqlRdbms
- value (::Google::Cloud::Datastream::V1::MysqlRdbms) — MySQL objects to retrieve from the source.
- (::Google::Cloud::Datastream::V1::MysqlRdbms) — MySQL objects to retrieve from the source.
#max_concurrent_backfill_tasks
def max_concurrent_backfill_tasks() -> ::Integer
- (::Integer) — 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.
#max_concurrent_backfill_tasks=
def max_concurrent_backfill_tasks=(value) -> ::Integer
- value (::Integer) — 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.
- (::Integer) — 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.
#max_concurrent_cdc_tasks
def max_concurrent_cdc_tasks() -> ::Integer
- (::Integer) — 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_cdc_tasks=
def max_concurrent_cdc_tasks=(value) -> ::Integer
- value (::Integer) — 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.
- (::Integer) — 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.