Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute (v0.14.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute.

Useful attribute for search result refinements.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attribute_key

def attribute_key() -> ::String
Returns
  • (::String) — Attribute key used to refine the results. For example, "movie_type".

#attribute_key=

def attribute_key=(value) -> ::String
Parameter
  • value (::String) — Attribute key used to refine the results. For example, "movie_type".
Returns
  • (::String) — Attribute key used to refine the results. For example, "movie_type".

#attribute_value

def attribute_value() -> ::String
Returns
  • (::String) — Attribute value used to refine the results. For example, "drama".

#attribute_value=

def attribute_value=(value) -> ::String
Parameter
  • value (::String) — Attribute value used to refine the results. For example, "drama".
Returns
  • (::String) — Attribute value used to refine the results. For example, "drama".