Google Cloud Sql Admin V1beta4 Client - Class SqlInstancesStartExternalSyncRequest (0.17.1)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlInstancesStartExternalSyncRequest.

Generated from protobuf message google.cloud.sql.v1beta4.SqlInstancesStartExternalSyncRequest

Namespace

Google \ Cloud \ Sql \ V1beta4

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 Google\Cloud\Sql\V1beta4\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 decides if the migration is a physical file based migration or logical migration.

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
Google\Cloud\Sql\V1beta4\MySqlSyncConfig|null

hasMysqlSyncConfig

setMysqlSyncConfig

MySQL-specific settings for start external sync.

Parameter
Name Description
var Google\Cloud\Sql\V1beta4\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 decides if the migration is a physical file based migration or logical migration.

Returns
Type Description
int

setMigrationType

Optional. MigrationType decides if the migration is a physical file based migration or logical migration.

Parameter
Name Description
var int
Returns
Type Description
$this

getSyncConfig

Returns
Type Description
string