Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryTableSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryTableSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
Describes a BigQuery table.
Instance Attribute Summary collapse
-
#table_source_type ⇒ String
Output only.
-
#table_spec ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1TableSpec
Normal BigQuery table specification.
-
#view_spec ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ViewSpec
Table view specification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1BigQueryTableSpec
constructor
A new instance of GoogleCloudDatacatalogV1BigQueryTableSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1BigQueryTableSpec
Returns a new instance of GoogleCloudDatacatalogV1BigQueryTableSpec.
333 334 335 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 333 def initialize(**args) update!(**args) end |
Instance Attribute Details
#table_source_type ⇒ String
Output only. The table source type.
Corresponds to the JSON property tableSourceType
321 322 323 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 321 def table_source_type @table_source_type end |
#table_spec ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1TableSpec
Normal BigQuery table specification.
Corresponds to the JSON property tableSpec
326 327 328 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 326 def table_spec @table_spec end |
#view_spec ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ViewSpec
Table view specification.
Corresponds to the JSON property viewSpec
331 332 333 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 331 def view_spec @view_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
338 339 340 341 342 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 338 def update!(**args) @table_source_type = args[:table_source_type] if args.key?(:table_source_type) @table_spec = args[:table_spec] if args.key?(:table_spec) @view_spec = args[:view_spec] if args.key?(:view_spec) end |