Reference documentation and code samples for the Google Cloud Dms V1 Client class SynonymEntity.
Synonym's parent is a schema.
Generated from protobuf message google.cloud.clouddms.v1.SynonymEntity
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source_entity |
string
The name of the entity for which the synonym is being created (the source). |
↳ source_type |
int
The type of the entity for which the synonym is being created (usually a table or a sequence). |
↳ custom_features |
Google\Protobuf\Struct
Custom engine specific features. |
getSourceEntity
The name of the entity for which the synonym is being created (the source).
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceEntity
The name of the entity for which the synonym is being created (the source).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceType
The type of the entity for which the synonym is being created (usually a table or a sequence).
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DatabaseEntityType. |
setSourceType
The type of the entity for which the synonym is being created (usually a table or a sequence).
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DatabaseEntityType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomFeatures
Custom engine specific features.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasCustomFeatures
clearCustomFeatures
setCustomFeatures
Custom engine specific features.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|