Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult

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

Represents the search results.

Defined Under Namespace

Classes: ModelScoresEntry

Instance Attribute Summary collapse

Instance Attribute Details

#document::Google::Cloud::DiscoveryEngine::V1beta::Document

Returns The document data snippet in the search response. Only fields that are marked as retrievable are populated.

Returns:



820
821
822
823
824
825
826
827
828
829
830
831
832
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 820

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::DiscoveryEngine::V1beta::DoubleList]
  class ModelScoresEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#id::String

Returns Document.id of the searched Document.

Returns:



820
821
822
823
824
825
826
827
828
829
830
831
832
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 820

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::DiscoveryEngine::V1beta::DoubleList]
  class ModelScoresEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#model_scores::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DoubleList}

Returns Google provided available scores.

Returns:



820
821
822
823
824
825
826
827
828
829
830
831
832
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 820

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::DiscoveryEngine::V1beta::DoubleList]
  class ModelScoresEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end