Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb
Overview
Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
Instance Attribute Summary collapse
-
#columns ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ColumnSchema>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1Schema
constructor
A new instance of GoogleCloudDatacatalogV1beta1Schema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1Schema
Returns a new instance of GoogleCloudDatacatalogV1beta1Schema.
937 938 939 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 937 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<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
935 936 937 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 935 def columns @columns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
942 943 944 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 942 def update!(**args) @columns = args[:columns] if args.key?(:columns) end |