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:



622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 622

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:



622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 622

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.



622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
# File 'proto_docs/google/cloud/datacatalog/v1/datacatalog.rb', line 622

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