Class: Google::Apis::DatastreamV1::SqlServerLsnPosition
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SqlServerLsnPosition
- 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
SQL Server LSN position
Instance Attribute Summary collapse
-
#lsn ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerLsnPosition
constructor
A new instance of SqlServerLsnPosition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerLsnPosition
Returns a new instance of SqlServerLsnPosition.
2789 2790 2791 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2789 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lsn ⇒ String
Required. Log sequence number (LSN) from where Logs will be read
Corresponds to the JSON property lsn
2787 2788 2789 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2787 def lsn @lsn end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2794 2795 2796 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2794 def update!(**args) @lsn = args[:lsn] if args.key?(:lsn) end |