Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::BigtableOptions::BigtableColumn.
The column of the Bigtable.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#encoding
def encoding() -> ::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Encoding
-
(::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 usingHBase Bytes.toBytes
family of functions. This can be overridden for a specific column by listing that column incolumns
and specifying an encoding for it.
#encoding=
def encoding=(value) -> ::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Encoding
-
value (::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 usingHBase Bytes.toBytes
family of functions. This can be overridden for a specific column by listing that column incolumns
and specifying an encoding for it.
-
(::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 usingHBase Bytes.toBytes
family of functions. This can be overridden for a specific column by listing that column incolumns
and specifying an encoding for it.
#field_name
def field_name() -> ::String
-
(::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.
#field_name=
def field_name=(value) -> ::String
-
value (::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.
-
(::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.
#qualifier
def qualifier() -> ::String
- (::String) — Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.
#qualifier=
def qualifier=(value) -> ::String
- value (::String) — Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.
- (::String) — Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.
#type
def type() -> ::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Type
-
(::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Type) — 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 toBINARY
.
#type=
def type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Type
-
value (::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Type) — 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 toBINARY
.
-
(::Google::Cloud::DiscoveryEngine::V1::BigtableOptions::Type) — 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 toBINARY
.