Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlInstancesVerifyExternalSyncSettingsRequest.
Generated from protobuf message google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest
Namespace
Google \ Cloud \ Sql \ V1beta4Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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\V1beta4\MySqlSyncConfig
Optional. MySQL-specific settings for start external sync. |
↳ migration_type |
int
Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are |
↳ sync_parallel_level |
int
Optional. Parallel level for initial data sync. Only applicable for PostgreSQL. |
getInstance
Cloud SQL instance ID. This does not include the project ID.
Returns | |
---|---|
Type | Description |
string |
setInstance
Cloud SQL instance ID. This does not include the project ID.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProject
Project ID of the project that contains the instance.
Returns | |
---|---|
Type | Description |
string |
setProject
Project ID of the project that contains the instance.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVerifyConnectionOnly
Flag to enable verifying connection only
Returns | |
---|---|
Type | Description |
bool |
setVerifyConnectionOnly
Flag to enable verifying connection only
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getSyncMode
External sync mode
Returns | |
---|---|
Type | Description |
int |
setSyncMode
External sync mode
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getVerifyReplicationOnly
Optional. Flag to verify settings required by replication setup only
Returns | |
---|---|
Type | Description |
bool |
setVerifyReplicationOnly
Optional. Flag to verify settings required by replication setup only
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getMysqlSyncConfig
Optional. MySQL-specific settings for start external sync.
Returns | |
---|---|
Type | Description |
Google\Cloud\Sql\V1beta4\MySqlSyncConfig|null |
hasMysqlSyncConfig
setMysqlSyncConfig
Optional. MySQL-specific settings for start external sync.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Sql\V1beta4\MySqlSyncConfig
|
Returns | |
---|---|
Type | Description |
$this |
getMigrationType
Optional. MigrationType configures the migration to use physical files or
logical dump files. If not set, then the logical dump file configuration is
used. Valid values are LOGICAL
or PHYSICAL
. Only applicable to MySQL.
Returns | |
---|---|
Type | Description |
int |
setMigrationType
Optional. MigrationType configures the migration to use physical files or
logical dump files. If not set, then the logical dump file configuration is
used. Valid values are LOGICAL
or PHYSICAL
. Only applicable to MySQL.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSyncParallelLevel
Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
Returns | |
---|---|
Type | Description |
int |
setSyncParallelLevel
Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSyncConfig
Returns | |
---|---|
Type | Description |
string |