Google Cloud Dms V1 Client - Class EntityDdl (1.4.2)

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

A single DDL statement for a specific entity

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ddl_type string

Type of DDL (Create, Alter).

↳ entity string

The name of the database entity the ddl refers to.

↳ ddl string

The actual ddl code.

↳ entity_type int

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

↳ issue_id array

EntityIssues found for this ddl.

getDdlType

Type of DDL (Create, Alter).

Returns
TypeDescription
string

setDdlType

Type of DDL (Create, Alter).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntity

The name of the database entity the ddl refers to.

Returns
TypeDescription
string

setEntity

The name of the database entity the ddl refers to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDdl

The actual ddl code.

Returns
TypeDescription
string

setDdl

The actual ddl code.

Parameter
NameDescription
var string
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

getIssueId

EntityIssues found for this ddl.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIssueId

EntityIssues found for this ddl.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this