Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::ColumnSchema.
A column within a schema. Columns can be nested inside other columns.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#column
def column() -> ::String
-
(::String) — Required. Name of the column.
Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
#column=
def column=(value) -> ::String
-
value (::String) — Required. Name of the column.
Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
-
(::String) — Required. Name of the column.
Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
#description
def description() -> ::String
-
(::String) — Optional. Description of the column. Default value is an empty string.
The description must be a UTF-8 string with the maximum size of 2000 bytes.
#description=
def description=(value) -> ::String
-
value (::String) — Optional. Description of the column. Default value is an empty string.
The description must be a UTF-8 string with the maximum size of 2000 bytes.
-
(::String) — Optional. Description of the column. Default value is an empty string.
The description must be a UTF-8 string with the maximum size of 2000 bytes.
#mode
def mode() -> ::String
-
(::String) — Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only
NULLABLE
,REQUIRED
, andREPEATED
values are supported. Default mode isNULLABLE
.
#mode=
def mode=(value) -> ::String
-
value (::String) — Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only
NULLABLE
,REQUIRED
, andREPEATED
values are supported. Default mode isNULLABLE
.
-
(::String) — Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only
NULLABLE
,REQUIRED
, andREPEATED
values are supported. Default mode isNULLABLE
.
#subcolumns
def subcolumns() -> ::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>
- (::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>) — Optional. Schema of sub-columns. A column can have zero or more sub-columns.
#subcolumns=
def subcolumns=(value) -> ::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>
- value (::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>) — Optional. Schema of sub-columns. A column can have zero or more sub-columns.
- (::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>) — Optional. Schema of sub-columns. A column can have zero or more sub-columns.
#type
def type() -> ::String
-
(::String) — Required. Type of the column.
Must be a UTF-8 string with the maximum size of 128 bytes.
#type=
def type=(value) -> ::String
-
value (::String) — Required. Type of the column.
Must be a UTF-8 string with the maximum size of 128 bytes.
-
(::String) — Required. Type of the column.
Must be a UTF-8 string with the maximum size of 128 bytes.