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

#follow_up_questions::Array<::String>

Returns Suggested follow-up questions.

Returns:

  • (::Array<::String>)

    Suggested follow-up questions.



1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 1315

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. For example, `"movie_type"`.
  # @!attribute [rw] attribute_value
  #   @return [::String]
  #     Attribute value used to refine the results. For example, `"drama"`.
  class RefinementAttribute
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

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

Returns A list of ranked refinement attributes.

Returns:



1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 1315

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. For example, `"movie_type"`.
  # @!attribute [rw] attribute_value
  #   @return [::String]
  #     Attribute value used to refine the results. For example, `"drama"`.
  class RefinementAttribute
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end