Class: Google::Apis::SqladminV1::MySqlSyncConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/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.



3028
3029
3030
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3028

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

Instance Attribute Details

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

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



3026
3027
3028
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3026

def initial_sync_flags
  @initial_sync_flags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3033
3034
3035
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3033

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