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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setDdlType
Type of DDL (Create, Alter).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntity
The name of the database entity the ddl refers to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setEntity
The name of the database entity the ddl refers to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDdl
The actual ddl code.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDdl
The actual ddl code.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntityType
The entity type (if the DDL is for a sub entity).
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DatabaseEntityType. |
setEntityType
The entity type (if the DDL is for a sub entity).
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DatabaseEntityType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIssueId
EntityIssues found for this ddl.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setIssueId
EntityIssues found for this ddl.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|