Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1Schema

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

Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1Schema

Returns a new instance of GoogleCloudDatacatalogV1Schema.



1694
1695
1696
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1694

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

Instance Attribute Details

#columnsArray<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchema>

The unified GoogleSQL-like schema of columns. The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels. Corresponds to the JSON property columns



1692
1693
1694
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1692

def columns
  @columns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1699
1700
1701
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1699

def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
end