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

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

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.

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

ID of the project that contains the instance.

Returns
TypeDescription
string

setProject

ID of the project that contains the instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSyncMode

External sync mode.

Returns
TypeDescription
int

setSyncMode

External sync mode.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSkipVerification

Whether to skip the verification step (VESS).

Returns
TypeDescription
bool

setSkipVerification

Whether to skip the verification step (VESS).

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getMysqlSyncConfig

MySQL-specific settings for start external sync.

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

hasMysqlSyncConfig

setMysqlSyncConfig

MySQL-specific settings for start external sync.

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

getSyncParallelLevel

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

Returns
TypeDescription
int

setSyncParallelLevel

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSyncConfig

Returns
TypeDescription
string