Retail V2 API - Class Google::Cloud::Retail::V2::CatalogAttribute::FacetConfig::MergedFacetValue (v0.21.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::CatalogAttribute::FacetConfig::MergedFacetValue.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#merged_value

def merged_value() -> ::String
Returns
  • (::String) — 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.

#merged_value=

def merged_value=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#values

def values() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#values=

def values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.