Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::ViewEntity (v1.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ViewEntity.
View's parent is a schema.
Extended By
-
Google::Protobuf::MessageExts::ClassMethods
Includes
-
Google::Protobuf::MessageExts
Methods
#constraints
def constraints() -> ::Array<::Google::Cloud::CloudDMS::V1::ConstraintEntity>
#constraints=
def constraints=(value) -> ::Array<::Google::Cloud::CloudDMS::V1::ConstraintEntity>
#custom_features
def custom_features() -> ::Google::Protobuf::Struct
#custom_features=
def custom_features=(value) -> ::Google::Protobuf::Struct
#sql_code
def sql_code() -> ::String
Returns
-
(::String) — The SQL code which creates the view.
#sql_code=
def sql_code=(value) -> ::String
Parameter
-
value (::String) — The SQL code which creates the view.
Returns
-
(::String) — The SQL code which creates the view.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::ViewEntity (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-ViewEntity)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-ViewEntity) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ViewEntity.\n\nView's parent is a schema. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #constraints\n\n def constraints() -\u003e ::Array\u003c::Google::Cloud::CloudDMS::V1::ConstraintEntity\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::CloudDMS::V1::ConstraintEntity](./Google-Cloud-CloudDMS-V1-ConstraintEntity)\\\u003e) --- View constraints.\n\n### #constraints=\n\n def constraints=(value) -\u003e ::Array\u003c::Google::Cloud::CloudDMS::V1::ConstraintEntity\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::CloudDMS::V1::ConstraintEntity](./Google-Cloud-CloudDMS-V1-ConstraintEntity)\\\u003e) --- View constraints. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::CloudDMS::V1::ConstraintEntity](./Google-Cloud-CloudDMS-V1-ConstraintEntity)\\\u003e) --- View constraints.\n\n### #custom_features\n\n def custom_features() -\u003e ::Google::Protobuf::Struct\n\n**Returns**\n\n- ([::Google::Protobuf::Struct](./Google-Protobuf-Struct)) --- Custom engine specific features.\n\n### #custom_features=\n\n def custom_features=(value) -\u003e ::Google::Protobuf::Struct\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Struct](./Google-Protobuf-Struct)) --- Custom engine specific features. \n**Returns**\n\n- ([::Google::Protobuf::Struct](./Google-Protobuf-Struct)) --- Custom engine specific features.\n\n### #sql_code\n\n def sql_code() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The SQL code which creates the view.\n\n### #sql_code=\n\n def sql_code=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The SQL code which creates the view. \n**Returns**\n\n- (::String) --- The SQL code which creates the view."]]