Google Cloud Dms V1 Client - Class EntityIssue (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client class EntityIssue.

Issue related to the entity.

Generated from protobuf message google.cloud.clouddms.v1.EntityIssue

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

Unique Issue ID.

↳ type int

The type of the issue.

↳ severity int

Severity of the issue

↳ message string

Issue detailed message

↳ code string

Error/Warning code

↳ ddl string

The ddl which caused the issue, if relevant.

↳ position Google\Cloud\CloudDms\V1\EntityIssue\Position

The position of the issue found, if relevant.

↳ entity_type int

The entity type (if the DDL is for a sub entity).

getId

Unique Issue ID.

Returns
TypeDescription
string

setId

Unique Issue ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

The type of the issue.

Returns
TypeDescription
int

setType

The type of the issue.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSeverity

Severity of the issue

Returns
TypeDescription
int

setSeverity

Severity of the issue

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Issue detailed message

Returns
TypeDescription
string

setMessage

Issue detailed message

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCode

Error/Warning code

Returns
TypeDescription
string

setCode

Error/Warning code

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDdl

The ddl which caused the issue, if relevant.

Returns
TypeDescription
string

hasDdl

clearDdl

setDdl

The ddl which caused the issue, if relevant.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPosition

The position of the issue found, if relevant.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\EntityIssue\Position|null

hasPosition

clearPosition

setPosition

The position of the issue found, if relevant.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\EntityIssue\Position
Returns
TypeDescription
$this

getEntityType

The entity type (if the DDL is for a sub entity).

Returns
TypeDescription
int

setEntityType

The entity type (if the DDL is for a sub entity).

Parameter
NameDescription
var int
Returns
TypeDescription
$this