Class: Google::Cloud::Datastream::V1::CdcStrategy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

The strategy that the stream uses for CDC replication.

Defined Under Namespace

Classes: MostRecentStartPosition, NextAvailableStartPosition, SpecificStartPosition

Instance Attribute Summary collapse

Instance Attribute Details

#most_recent_start_position::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition

Returns Optional. Start replicating from the most recent position in the source.

Note: The following fields are mutually exclusive: most_recent_start_position, next_available_start_position, specific_start_position. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition)

    Optional. Start replicating from the most recent position in the source.

    Note: The following fields are mutually exclusive: most_recent_start_position, next_available_start_position, specific_start_position. If a field in that set is populated, all other fields in the set will automatically be cleared.



2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2095

class CdcStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CDC strategy to start replicating from the most recent position in the
  # source.
  class MostRecentStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # CDC strategy to resume replication from the next available position in the
  # source.
  class NextAvailableStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # CDC strategy to start replicating from a specific position in the source.
  # @!attribute [rw] mysql_log_position
  #   @return [::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.
  # @!attribute [rw] oracle_scn_position
  #   @return [::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.
  # @!attribute [rw] sql_server_lsn_position
  #   @return [::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.
  # @!attribute [rw] mysql_gtid_position
  #   @return [::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.
  class SpecificStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#next_available_start_position::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition

Returns Optional. Resume replication from the next available position in the source.

Note: The following fields are mutually exclusive: next_available_start_position, most_recent_start_position, specific_start_position. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition)

    Optional. Resume replication from the next available position in the source.

    Note: The following fields are mutually exclusive: next_available_start_position, most_recent_start_position, specific_start_position. If a field in that set is populated, all other fields in the set will automatically be cleared.



2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2095

class CdcStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CDC strategy to start replicating from the most recent position in the
  # source.
  class MostRecentStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # CDC strategy to resume replication from the next available position in the
  # source.
  class NextAvailableStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # CDC strategy to start replicating from a specific position in the source.
  # @!attribute [rw] mysql_log_position
  #   @return [::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.
  # @!attribute [rw] oracle_scn_position
  #   @return [::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.
  # @!attribute [rw] sql_server_lsn_position
  #   @return [::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.
  # @!attribute [rw] mysql_gtid_position
  #   @return [::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.
  class SpecificStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#specific_start_position::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition

Returns Optional. Start replicating from a specific position in the source.

Note: The following fields are mutually exclusive: specific_start_position, most_recent_start_position, next_available_start_position. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition)

    Optional. Start replicating from a specific position in the source.

    Note: The following fields are mutually exclusive: specific_start_position, most_recent_start_position, next_available_start_position. If a field in that set is populated, all other fields in the set will automatically be cleared.



2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2095

class CdcStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CDC strategy to start replicating from the most recent position in the
  # source.
  class MostRecentStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # CDC strategy to resume replication from the next available position in the
  # source.
  class NextAvailableStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # CDC strategy to start replicating from a specific position in the source.
  # @!attribute [rw] mysql_log_position
  #   @return [::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.
  # @!attribute [rw] oracle_scn_position
  #   @return [::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.
  # @!attribute [rw] sql_server_lsn_position
  #   @return [::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.
  # @!attribute [rw] mysql_gtid_position
  #   @return [::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.
  class SpecificStartPosition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end