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.
#default_value
def default_value() -> ::String
- (::String) — Optional. Default value for the column.
#default_value=
def default_value=(value) -> ::String
- value (::String) — Optional. Default value for the column.
- (::String) — Optional. Default value for the column.
#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.
#gc_rule
def gc_rule() -> ::String
- (::String) — Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
#gc_rule=
def gc_rule=(value) -> ::String
- value (::String) — Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
- (::String) — Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
#highest_indexing_type
def highest_indexing_type() -> ::Google::Cloud::DataCatalog::V1::ColumnSchema::IndexingType
- (::Google::Cloud::DataCatalog::V1::ColumnSchema::IndexingType) — Optional. Most important inclusion of this column.
#highest_indexing_type=
def highest_indexing_type=(value) -> ::Google::Cloud::DataCatalog::V1::ColumnSchema::IndexingType
- value (::Google::Cloud::DataCatalog::V1::ColumnSchema::IndexingType) — Optional. Most important inclusion of this column.
- (::Google::Cloud::DataCatalog::V1::ColumnSchema::IndexingType) — Optional. Most important inclusion of this column.
#looker_column_spec
def looker_column_spec() -> ::Google::Cloud::DataCatalog::V1::ColumnSchema::LookerColumnSpec
- (::Google::Cloud::DataCatalog::V1::ColumnSchema::LookerColumnSpec) — Looker specific column info of this column.
#looker_column_spec=
def looker_column_spec=(value) -> ::Google::Cloud::DataCatalog::V1::ColumnSchema::LookerColumnSpec
- value (::Google::Cloud::DataCatalog::V1::ColumnSchema::LookerColumnSpec) — Looker specific column info of this column.
- (::Google::Cloud::DataCatalog::V1::ColumnSchema::LookerColumnSpec) — Looker specific column info of this column.
#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
.
#ordinal_position
def ordinal_position() -> ::Integer
- (::Integer) — Optional. Ordinal position
#ordinal_position=
def ordinal_position=(value) -> ::Integer
- value (::Integer) — Optional. Ordinal position
- (::Integer) — Optional. Ordinal position
#range_element_type
def range_element_type() -> ::Google::Cloud::DataCatalog::V1::ColumnSchema::FieldElementType
-
(::Google::Cloud::DataCatalog::V1::ColumnSchema::FieldElementType) —
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include:
- DATE
- DATETIME
- TIMESTAMP
#range_element_type=
def range_element_type=(value) -> ::Google::Cloud::DataCatalog::V1::ColumnSchema::FieldElementType
-
value (::Google::Cloud::DataCatalog::V1::ColumnSchema::FieldElementType) —
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include:
- DATE
- DATETIME
- TIMESTAMP
-
(::Google::Cloud::DataCatalog::V1::ColumnSchema::FieldElementType) —
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include:
- DATE
- DATETIME
- TIMESTAMP
#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.