Class: Google::Apis::DatastreamV1::MysqlGtidPosition

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

MySQL GTID position

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MysqlGtidPosition

Returns a new instance of MysqlGtidPosition.



2190
2191
2192
# File 'lib/google/apis/datastream_v1/classes.rb', line 2190

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

Instance Attribute Details

#gtid_setString

Required. The gtid set to start replication from. Corresponds to the JSON property gtidSet

Returns:

  • (String)


2188
2189
2190
# File 'lib/google/apis/datastream_v1/classes.rb', line 2188

def gtid_set
  @gtid_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2195
2196
2197
# File 'lib/google/apis/datastream_v1/classes.rb', line 2195

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