Google Cloud Dms V1 Client - Class EntityIssue (2.0.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
Name Description
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 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
Type Description
string

setId

Unique Issue ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

The type of the issue.

Returns
Type Description
int

setType

The type of the issue.

Parameter
Name Description
var int
Returns
Type Description
$this

getSeverity

Severity of the issue

Returns
Type Description
int

setSeverity

Severity of the issue

Parameter
Name Description
var int
Returns
Type Description
$this

getMessage

Issue detailed message

Returns
Type Description
string

setMessage

Issue detailed message

Parameter
Name Description
var string
Returns
Type Description
$this

getCode

Error/Warning code

Returns
Type Description
string

setCode

Error/Warning code

Parameter
Name Description
var string
Returns
Type Description
$this

getDdl

The ddl which caused the issue, if relevant.

Returns
Type Description
string

hasDdl

clearDdl

setDdl

The ddl which caused the issue, if relevant.

Parameter
Name Description
var string
Returns
Type Description
$this

getPosition

The position of the issue found, if relevant.

Returns
Type Description
EntityIssue\Position|null

hasPosition

clearPosition

setPosition

The position of the issue found, if relevant.

Parameter
Name Description
var EntityIssue\Position
Returns
Type Description
$this

getEntityType

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

Returns
Type Description
int

setEntityType

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

Parameter
Name Description
var int
Returns
Type Description
$this