Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::CdcStrategy.
The strategy that the stream uses for CDC replication.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#most_recent_start_position
def most_recent_start_position() -> ::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition
Returns
- (::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition) — Optional. Start replicating from the most recent position in the source.
#most_recent_start_position=
def most_recent_start_position=(value) -> ::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition
Parameter
- value (::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition) — Optional. Start replicating from the most recent position in the source.
Returns
- (::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition) — Optional. Start replicating from the most recent position in the source.
#next_available_start_position
def next_available_start_position() -> ::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition
Returns
- (::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition) — Optional. Resume replication from the next available position in the source.
#next_available_start_position=
def next_available_start_position=(value) -> ::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition
Parameter
- value (::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition) — Optional. Resume replication from the next available position in the source.
Returns
- (::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition) — Optional. Resume replication from the next available position in the source.
#specific_start_position
def specific_start_position() -> ::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition
Returns
- (::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition) — Optional. Start replicating from a specific position in the source.
#specific_start_position=
def specific_start_position=(value) -> ::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition
Parameter
- value (::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition) — Optional. Start replicating from a specific position in the source.
Returns
- (::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition) — Optional. Start replicating from a specific position in the source.