Class: Google::Cloud::DiscoveryEngine::V1::BigtableOptions::BigtableColumn

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/import_config.rb

Overview

The column of the Bigtable.

Instance Attribute Summary collapse

Instance Attribute Details

#encoding::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Encoding

Returns The encoding mode of the values when the type is not STRING. Acceptable encoding values are:

  • TEXT: indicates values are alphanumeric text strings.
  • BINARY: indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in columns and specifying an encoding for it.

Returns:

  • (::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Encoding)

    The encoding mode of the values when the type is not STRING. Acceptable encoding values are:

    • TEXT: indicates values are alphanumeric text strings.
    • BINARY: indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in columns and specifying an encoding for it.


210
211
212
213
# File 'proto_docs/google/cloud/discoveryengine/v1/import_config.rb', line 210

class BigtableColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#field_name::String

Returns The field name to use for this column in the document. The name has to match the pattern [a-zA-Z0-9][a-zA-Z0-9-_]*. If not set, it is parsed from the qualifier bytes with best effort. However, due to different naming patterns, field name collisions could happen, where parsing behavior is undefined.

Returns:

  • (::String)

    The field name to use for this column in the document. The name has to match the pattern [a-zA-Z0-9][a-zA-Z0-9-_]*. If not set, it is parsed from the qualifier bytes with best effort. However, due to different naming patterns, field name collisions could happen, where parsing behavior is undefined.



210
211
212
213
# File 'proto_docs/google/cloud/discoveryengine/v1/import_config.rb', line 210

class BigtableColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#qualifier::String

Returns Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.

Returns:

  • (::String)

    Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.



210
211
212
213
# File 'proto_docs/google/cloud/discoveryengine/v1/import_config.rb', line 210

class BigtableColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Type

Returns The type of values in this column family. The values are expected to be encoded using HBase Bytes.toBytes function when the encoding value is set to BINARY.

Returns:



210
211
212
213
# File 'proto_docs/google/cloud/discoveryengine/v1/import_config.rb', line 210

class BigtableColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end