Google Cloud Sql Admin V1 Client - Class SqlInstancesStartExternalSyncRequest (1.2.1)

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

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

setSyncMode

External sync mode.

Parameter
Name Description
var int
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
MySqlSyncConfig|null

hasMysqlSyncConfig

setMysqlSyncConfig

MySQL-specific settings for start external sync.

Parameter
Name Description
var MySqlSyncConfig
Returns
Type Description
$this

getSyncParallelLevel

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

Returns
Type Description
int

setSyncParallelLevel

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

Parameter
Name Description
var int
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

getSyncConfig

Returns
Type Description
string