Google Cloud Sql Admin V1 Client - Class SqlExternalSyncSettingError (0.16.1)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlExternalSyncSettingError.

External primary instance migration setting error/warning.

Generated from protobuf message google.cloud.sql.v1.SqlExternalSyncSettingError

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ kind string

Can be sql#externalSyncSettingError or sql#externalSyncSettingWarning.

↳ type int

Identifies the specific error that occurred.

↳ detail string

Additional information about the error encountered.

getKind

Can be sql#externalSyncSettingError or sql#externalSyncSettingWarning.

Returns
Type Description
string

setKind

Can be sql#externalSyncSettingError or sql#externalSyncSettingWarning.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Identifies the specific error that occurred.

Returns
Type Description
int

setType

Identifies the specific error that occurred.

Parameter
Name Description
var int
Returns
Type Description
$this

getDetail

Additional information about the error encountered.

Returns
Type Description
string

setDetail

Additional information about the error encountered.

Parameter
Name Description
var string
Returns
Type Description
$this