Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema

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 (e.g. BigQuery, GoogleSQL, Avro schema).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1Schema

Returns a new instance of GoogleCloudDatacatalogV1beta1Schema.



2869
2870
2871
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2869

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

Instance Attribute Details

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

Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be specified. Corresponds to the JSON property columns



2867
2868
2869
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2867

def columns
  @columns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2874
2875
2876
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 2874

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