Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Schema
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Schema
- 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
Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
Instance Attribute Summary collapse
-
#columns ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchema>
The unified GoogleSQL-like schema of columns.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1Schema
constructor
A new instance of GoogleCloudDatacatalogV1Schema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1Schema
Returns a new instance of GoogleCloudDatacatalogV1Schema.
2436 2437 2438 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<Google::Apis::DatacatalogV1::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
2434 2435 2436 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2434 def columns @columns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2441 2442 2443 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2441 def update!(**args) @columns = args[:columns] if args.key?(:columns) end |