Reference documentation and code samples for the Google Cloud Dms V1 Client class ViewEntity.
View's parent is a schema.
Generated from protobuf message google.cloud.clouddms.v1.ViewEntity
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sql_code |
string
The SQL code which creates the view. |
↳ custom_features |
Google\Protobuf\Struct
Custom engine specific features. |
↳ constraints |
array<Google\Cloud\CloudDms\V1\ConstraintEntity>
View constraints. |
getSqlCode
The SQL code which creates the view.
Returns | |
---|---|
Type | Description |
string |
setSqlCode
The SQL code which creates the view.
Parameter | |
---|---|
Name | Description |
var |
string
|
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 |
getConstraints
View constraints.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setConstraints
View constraints.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\CloudDms\V1\ConstraintEntity>
|
Returns | |
---|---|
Type | Description |
$this |