Class: Google::Apis::DatastreamV1::SpecificStartPosition
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SpecificStartPosition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
CDC strategy to start replicating from a specific position in the source.
Instance Attribute Summary collapse
-
#mysql_log_position ⇒ Google::Apis::DatastreamV1::MysqlLogPosition
MySQL log position Corresponds to the JSON property
mysqlLogPosition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpecificStartPosition
constructor
A new instance of SpecificStartPosition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpecificStartPosition
Returns a new instance of SpecificStartPosition.
2283 2284 2285 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_log_position ⇒ Google::Apis::DatastreamV1::MysqlLogPosition
MySQL log position
Corresponds to the JSON property mysqlLogPosition
2281 2282 2283 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2281 def mysql_log_position @mysql_log_position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2288 2289 2290 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2288 def update!(**args) @mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position) end |