Google Cloud Sql Admin V1 Client - Class SqlInstancesVerifyExternalSyncSettingsRequest (0.12.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesVerifyExternalSyncSettingsRequest.

Instance verify external sync settings request.

Generated from protobuf message google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance string

Cloud SQL instance ID. This does not include the project ID.

↳ project string

Project ID of the project that contains the instance.

↳ verify_connection_only bool

Flag to enable verifying connection only

↳ sync_mode int

External sync mode

↳ verify_replication_only bool

Optional. Flag to verify settings required by replication setup only

↳ mysql_sync_config Google\Cloud\Sql\V1\MySqlSyncConfig

Optional. MySQL-specific settings for start external sync.

getInstance

Cloud SQL instance ID. This does not include the project ID.

Returns
TypeDescription
string

setInstance

Cloud SQL instance ID. This does not include the project ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProject

Project ID of the project that contains the instance.

Returns
TypeDescription
string

setProject

Project ID of the project that contains the instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVerifyConnectionOnly

Flag to enable verifying connection only

Returns
TypeDescription
bool

setVerifyConnectionOnly

Flag to enable verifying connection only

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSyncMode

External sync mode

Returns
TypeDescription
int

setSyncMode

External sync mode

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVerifyReplicationOnly

Optional. Flag to verify settings required by replication setup only

Returns
TypeDescription
bool

setVerifyReplicationOnly

Optional. Flag to verify settings required by replication setup only

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getMysqlSyncConfig

Optional. MySQL-specific settings for start external sync.

Returns
TypeDescription
Google\Cloud\Sql\V1\MySqlSyncConfig|null

hasMysqlSyncConfig

setMysqlSyncConfig

Optional. MySQL-specific settings for start external sync.

Parameter
NameDescription
var Google\Cloud\Sql\V1\MySqlSyncConfig
Returns
TypeDescription
$this

getSyncConfig

Returns
TypeDescription
string