# Datastream V1 API - Class Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition (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::CdcStrategy::SpecificStartPosition.

CDC strategy to start replicating from a specific position in the source.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #mysql_gtid_position

    def mysql_gtid_position() -> ::Google::Cloud::Datastream::V1::MysqlGtidPosition

**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlGtidPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlGtidPosition)) --- MySQL GTID set to start replicating from.


  Note: The following fields are mutually exclusive: `mysql_gtid_position`, `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_gtid_position=

    def mysql_gtid_position=(value) -> ::Google::Cloud::Datastream::V1::MysqlGtidPosition

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::MysqlGtidPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlGtidPosition)) --- MySQL GTID set to start replicating from.


  Note: The following fields are mutually exclusive: `mysql_gtid_position`, `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlGtidPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlGtidPosition)) --- MySQL GTID set to start replicating from.


  Note: The following fields are mutually exclusive: `mysql_gtid_position`, `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_log_position

    def mysql_log_position() -> ::Google::Cloud::Datastream::V1::MysqlLogPosition

**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlLogPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlLogPosition)) --- MySQL specific log position to start replicating from.


  Note: The following fields are mutually exclusive: `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_log_position=

    def mysql_log_position=(value) -> ::Google::Cloud::Datastream::V1::MysqlLogPosition

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::MysqlLogPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlLogPosition)) --- MySQL specific log position to start replicating from.


  Note: The following fields are mutually exclusive: `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlLogPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlLogPosition)) --- MySQL specific log position to start replicating from.


  Note: The following fields are mutually exclusive: `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_scn_position

    def oracle_scn_position() -> ::Google::Cloud::Datastream::V1::OracleScnPosition

**Returns**

- ([::Google::Cloud::Datastream::V1::OracleScnPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleScnPosition)) --- Oracle SCN to start replicating from.


  Note: The following fields are mutually exclusive: `oracle_scn_position`, `mysql_log_position`, `sql_server_lsn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_scn_position=

    def oracle_scn_position=(value) -> ::Google::Cloud::Datastream::V1::OracleScnPosition

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::OracleScnPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleScnPosition)) --- Oracle SCN to start replicating from.


  Note: The following fields are mutually exclusive: `oracle_scn_position`, `mysql_log_position`, `sql_server_lsn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::OracleScnPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleScnPosition)) --- Oracle SCN to start replicating from.


  Note: The following fields are mutually exclusive: `oracle_scn_position`, `mysql_log_position`, `sql_server_lsn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_lsn_position

    def sql_server_lsn_position() -> ::Google::Cloud::Datastream::V1::SqlServerLsnPosition

**Returns**

- ([::Google::Cloud::Datastream::V1::SqlServerLsnPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerLsnPosition)) --- SqlServer LSN to start replicating from.


  Note: The following fields are mutually exclusive: `sql_server_lsn_position`, `mysql_log_position`, `oracle_scn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_lsn_position=

    def sql_server_lsn_position=(value) -> ::Google::Cloud::Datastream::V1::SqlServerLsnPosition

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SqlServerLsnPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerLsnPosition)) --- SqlServer LSN to start replicating from.


  Note: The following fields are mutually exclusive: `sql_server_lsn_position`, `mysql_log_position`, `oracle_scn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SqlServerLsnPosition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerLsnPosition)) --- SqlServer LSN to start replicating from.


  Note: The following fields are mutually exclusive: `sql_server_lsn_position`, `mysql_log_position`, `oracle_scn_position`, `mysql_gtid_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.