Class: Google::Cloud::DataCatalog::V1::DatabaseTableSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datacatalog/v1/datacatalog.rb

Overview

Specification that applies to a table resource. Valid only for entries with the TABLE type.

Defined Under Namespace

Modules: TableType Classes: DatabaseViewSpec

Instance Attribute Summary collapse

Instance Attribute Details

#database_view_spec::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec

Returns Spec what aplies to tables that are actually views. Not set for "real" tables.

Returns:



600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 600

class DatabaseTableSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specification that applies to database view.
  # @!attribute [rw] view_type
  #   @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec::ViewType]
  #     Type of this view.
  # @!attribute [rw] base_table
  #   @return [::String]
  #     Name of a singular table this view reflects one to one.
  # @!attribute [rw] sql_query
  #   @return [::String]
  #     SQL query used to generate this view.
  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

  # Type of the table.
  module TableType
    # Default unknown table type.
    TABLE_TYPE_UNSPECIFIED = 0

    # Native table.
    NATIVE = 1

    # External table.
    EXTERNAL = 2
  end
end

#dataplex_table::Google::Cloud::DataCatalog::V1::DataplexTableSpec (readonly)

Returns Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

Returns:



600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 600

class DatabaseTableSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specification that applies to database view.
  # @!attribute [rw] view_type
  #   @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec::ViewType]
  #     Type of this view.
  # @!attribute [rw] base_table
  #   @return [::String]
  #     Name of a singular table this view reflects one to one.
  # @!attribute [rw] sql_query
  #   @return [::String]
  #     SQL query used to generate this view.
  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

  # Type of the table.
  module TableType
    # Default unknown table type.
    TABLE_TYPE_UNSPECIFIED = 0

    # Native table.
    NATIVE = 1

    # External table.
    EXTERNAL = 2
  end
end

#type::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::TableType

Returns Type of this table.



600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 600

class DatabaseTableSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specification that applies to database view.
  # @!attribute [rw] view_type
  #   @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec::ViewType]
  #     Type of this view.
  # @!attribute [rw] base_table
  #   @return [::String]
  #     Name of a singular table this view reflects one to one.
  # @!attribute [rw] sql_query
  #   @return [::String]
  #     SQL query used to generate this view.
  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

  # Type of the table.
  module TableType
    # Default unknown table type.
    TABLE_TYPE_UNSPECIFIED = 0

    # Native table.
    NATIVE = 1

    # External table.
    EXTERNAL = 2
  end
end