Class: Google::Apis::SqladminV1beta4::MySqlSyncConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb

Overview

MySQL-specific external server sync settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MySqlSyncConfig

Returns a new instance of MySqlSyncConfig.



2910
2911
2912
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2910

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

Instance Attribute Details

#initial_sync_flagsArray<Google::Apis::SqladminV1beta4::SyncFlags>

Flags to use for the initial dump. Corresponds to the JSON property initialSyncFlags



2908
2909
2910
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2908

def initial_sync_flags
  @initial_sync_flags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2915
2916
2917
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2915

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