Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
Specification that applies to database view.
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 ⇒ String
Type of this view.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
constructor
A new instance of GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
Returns a new instance of GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec.
771 772 773 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_table ⇒ String
Name of a singular table this view reflects one to one.
Corresponds to the JSON property baseTable
759 760 761 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 759 def base_table @base_table end |
#sql_query ⇒ String
SQL query used to generate this view.
Corresponds to the JSON property sqlQuery
764 765 766 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 764 def sql_query @sql_query end |
#view_type ⇒ String
Type of this view.
Corresponds to the JSON property viewType
769 770 771 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 769 def view_type @view_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
776 777 778 779 780 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 776 def update!(**args) @base_table = args[:base_table] if args.key?(:base_table) @sql_query = args[:sql_query] if args.key?(:sql_query) @view_type = args[:view_type] if args.key?(:view_type) end |