Class: Google::Apis::DatastreamV1::SqlServerLsnPosition

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerLsnPosition

Returns a new instance of SqlServerLsnPosition.



4665
4666
4667
# File 'lib/google/apis/datastream_v1/classes.rb', line 4665

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#lsnString

Required. Log sequence number (LSN) from where Logs will be read Corresponds to the JSON property lsn

Returns:

  • (String)


4663
4664
4665
# File 'lib/google/apis/datastream_v1/classes.rb', line 4663

def lsn
  @lsn
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4670
4671
4672
# File 'lib/google/apis/datastream_v1/classes.rb', line 4670

def update!(**args)
  @lsn = args[:lsn] if args.key?(:lsn)
end