Class: Google::Cloud::DataCatalog::V1::ColumnSchema
- Inherits:
-
Object
- Object
- Google::Cloud::DataCatalog::V1::ColumnSchema
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datacatalog/v1/schema.rb
Overview
Representation of a column within a schema. Columns could be nested inside other columns.
Instance Attribute Summary collapse
-
#column ⇒ ::String
Required.
-
#description ⇒ ::String
Optional.
-
#mode ⇒ ::String
Optional.
-
#subcolumns ⇒ ::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>
Optional.
-
#type ⇒ ::String
Required.
Instance Attribute Details
#column ⇒ ::String
Returns Required. Name of the column.
53 54 55 56 |
# File 'proto_docs/google/cloud/datacatalog/v1/schema.rb', line 53 class ColumnSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
Returns Optional. Description of the column. Default value is an empty string.
53 54 55 56 |
# File 'proto_docs/google/cloud/datacatalog/v1/schema.rb', line 53 class ColumnSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mode ⇒ ::String
Returns Optional. A column's mode indicates whether the values in this column are required,
nullable, etc. Only NULLABLE
, REQUIRED
and REPEATED
are supported.
Default mode is NULLABLE
.
53 54 55 56 |
# File 'proto_docs/google/cloud/datacatalog/v1/schema.rb', line 53 class ColumnSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#subcolumns ⇒ ::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>
Returns Optional. Schema of sub-columns. A column can have zero or more sub-columns.
53 54 55 56 |
# File 'proto_docs/google/cloud/datacatalog/v1/schema.rb', line 53 class ColumnSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::String
Returns Required. Type of the column.
53 54 55 56 |
# File 'proto_docs/google/cloud/datacatalog/v1/schema.rb', line 53 class ColumnSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |