# Google Cloud Sql Admin V1 Client - Class SqlInstancesStartExternalSyncRequest (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.6 1.1.0 1.0.0 0.19.0 0.18.0 0.17.1 0.16.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.12 Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesStartExternalSyncRequest.

Instance start external sync request.

Generated from protobuf message `google.cloud.sql.v1.SqlInstancesStartExternalSyncRequest`

## Namespace

Google \\ Cloud \\ Sql \\ V1

## Methods

### __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` ID of the project that contains the instance. |
| `↳ sync_mode` | `int` External sync mode. |
| `↳ skip_verification` | `bool` Whether to skip the verification step (VESS). |
| `↳ mysql_sync_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.MySqlSyncConfig` MySQL-specific settings for start external sync. |
| `↳ sync_parallel_level` | `int` Optional. Parallel level for initial data sync. Currently only applicable for MySQL. |
| `↳ 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 `LOGICAL` or `PHYSICAL`. Only applicable to MySQL. |
| `↳ replica_overwrite_enabled` | `bool` Optional. MySQL only. True if end-user has confirmed that this SES call will wipe replica databases overlapping with the proposed selected_objects. If this field is not set and there are both overlapping and additional databases proposed, an error will be returned. |

### 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

ID of the project that contains the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setProject

ID of the project that contains the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSyncMode

External sync mode.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ExternalSyncMode](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode). |

### setSyncMode

External sync mode.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ExternalSyncMode](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSkipVerification

Whether to skip the verification step (VESS).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSkipVerification

Whether to skip the verification step (VESS).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMysqlSyncConfig

MySQL-specific settings for start external sync.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.MySqlSyncConfig|null` |   |

### hasMysqlSyncConfig

### setMysqlSyncConfig

MySQL-specific settings for start external sync.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.MySqlSyncConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSyncParallelLevel

Optional. Parallel level for initial data sync. Currently only applicable
for MySQL.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ExternalSyncParallelLevel](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ExternalSyncParallelLevel). |

### setSyncParallelLevel

Optional. Parallel level for initial data sync. Currently only applicable
for MySQL.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ExternalSyncParallelLevel](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ExternalSyncParallelLevel). |

| **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` | Enum of type [MigrationType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType). |

### 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` Enum of type [MigrationType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReplicaOverwriteEnabled

Optional. MySQL only. True if end-user has confirmed that this SES call
will wipe replica databases overlapping with the proposed selected_objects.

If this field is not set and there are both overlapping and additional
databases proposed, an error will be returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setReplicaOverwriteEnabled

Optional. MySQL only. True if end-user has confirmed that this SES call
will wipe replica databases overlapping with the proposed selected_objects.

If this field is not set and there are both overlapping and additional
databases proposed, an error will be returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSyncConfig

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |