Class: Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec
- Inherits:
-
Object
- Object
- Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datacatalog/v1/datacatalog.rb
Overview
Specification that applies to database view.
Defined Under Namespace
Modules: ViewType
Instance Attribute Summary collapse
-
#base_table ⇒ ::String
Name of a singular table this view reflects one to one.
-
#sql_query ⇒ ::String
SQL query used to generate this view.
-
#view_type ⇒ ::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec::ViewType
Type of this view.
Instance Attribute Details
#base_table ⇒ ::String
Returns Name of a singular table this view reflects one to one.
Note: The following fields are mutually exclusive: base_table
, sql_query
. If a field in that set is populated, all other fields in the set will automatically be cleared.
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 |
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 682 class DatabaseViewSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Concrete type of the view. module ViewType # Default unknown view type. VIEW_TYPE_UNSPECIFIED = 0 # Standard view. STANDARD_VIEW = 1 # Materialized view. MATERIALIZED_VIEW = 2 end end |
#sql_query ⇒ ::String
Returns SQL query used to generate this view.
Note: The following fields are mutually exclusive: sql_query
, base_table
. If a field in that set is populated, all other fields in the set will automatically be cleared.
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 |
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 682 class DatabaseViewSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Concrete type of the view. module ViewType # Default unknown view type. VIEW_TYPE_UNSPECIFIED = 0 # Standard view. STANDARD_VIEW = 1 # Materialized view. MATERIALIZED_VIEW = 2 end end |
#view_type ⇒ ::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec::ViewType
Returns Type of this view.
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 |
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 682 class DatabaseViewSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Concrete type of the view. module ViewType # Default unknown view type. VIEW_TYPE_UNSPECIFIED = 0 # Standard view. STANDARD_VIEW = 1 # Materialized view. MATERIALIZED_VIEW = 2 end end |