Class: Google::Cloud::DataCatalog::V1::ColumnSchema

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#column::String

Returns Required. Name of the column.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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