Class: Google::Cloud::Retail::V2::CatalogAttribute::FacetConfig::MergedFacetValue
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::CatalogAttribute::FacetConfig::MergedFacetValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/catalog.rb
Overview
Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per CatalogAttribute. This feature is available only for textual custom attributes.
Instance Attribute Summary collapse
-
#merged_value ⇒ ::String
All the previous values are replaced by this merged facet value.
-
#values ⇒ ::Array<::String>
All the facet values that are replaces by the same merged_value that follows.
Instance Attribute Details
#merged_value ⇒ ::String
Returns All the previous values are replaced by this merged facet value. This merged_value must be non-empty and can have up to 128 characters.
265 266 267 268 |
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 265 class MergedFacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#values ⇒ ::Array<::String>
Returns All the facet values that are replaces by the same merged_value that follows. The maximum number of values per MergedFacetValue is 25. Each value can have up to 128 characters.
265 266 267 268 |
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 265 class MergedFacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |