Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1BigQueryTableSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1BigQueryTableSpec

Returns a new instance of GoogleCloudDatacatalogV1beta1BigQueryTableSpec.



2413
2414
2415
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2413

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#table_source_typeString

Output only. The table source type. Corresponds to the JSON property tableSourceType

Returns:

  • (String)


2401
2402
2403
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2401

def table_source_type
  @table_source_type
end

#table_specGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TableSpec

Normal BigQuery table spec. Corresponds to the JSON property tableSpec



2406
2407
2408
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2406

def table_spec
  @table_spec
end

#view_specGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ViewSpec

Table view specification. Corresponds to the JSON property viewSpec



2411
2412
2413
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2411

def view_spec
  @view_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2418
2419
2420
2421
2422
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2418

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