Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult

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

Overview

Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.

Defined Under Namespace

Classes: RefinementAttribute

Instance Attribute Summary collapse

Instance Attribute Details

#refinement_attributes::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>

Returns A list of ranked refinement attributes.

Returns:



623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 623

class GuidedSearchResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Useful attribute for search result refinements.
  # @!attribute [rw] attribute_key
  #   @return [::String]
  #     Attribute key used to refine the results e.g. 'movie_type'.
  # @!attribute [rw] attribute_value
  #   @return [::String]
  #     Attribute value used to refine the results e.g. 'drama'.
  class RefinementAttribute
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end