Class: Google::Apis::SqladminV1::SqlInstancesVerifyExternalSyncSettingsRequest

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

Instance verify external sync settings request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlInstancesVerifyExternalSyncSettingsRequest

Returns a new instance of SqlInstancesVerifyExternalSyncSettingsRequest.



3484
3485
3486
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3484

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

Instance Attribute Details

#mysql_sync_configGoogle::Apis::SqladminV1::MySqlSyncConfig

MySQL-specific external server sync settings. Corresponds to the JSON property mysqlSyncConfig



3465
3466
3467
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3465

def mysql_sync_config
  @mysql_sync_config
end

#sync_modeString

External sync mode Corresponds to the JSON property syncMode

Returns:

  • (String)


3470
3471
3472
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3470

def sync_mode
  @sync_mode
end

#verify_connection_onlyBoolean Also known as: verify_connection_only?

Flag to enable verifying connection only Corresponds to the JSON property verifyConnectionOnly

Returns:

  • (Boolean)


3475
3476
3477
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3475

def verify_connection_only
  @verify_connection_only
end

#verify_replication_onlyBoolean Also known as: verify_replication_only?

Optional. Flag to verify settings required by replication setup only Corresponds to the JSON property verifyReplicationOnly

Returns:

  • (Boolean)


3481
3482
3483
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3481

def verify_replication_only
  @verify_replication_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3489
3490
3491
3492
3493
3494
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3489

def update!(**args)
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
  @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
end