Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema
- 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
-
#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.
3089 3090 3091 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3089 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
3087 3088 3089 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3087 def columns @columns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3094 3095 3096 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3094 def update!(**args) @columns = args[:columns] if args.key?(:columns) end |