Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult.
Represents the search results.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::Google::Cloud::DiscoveryEngine::V1::Document
Returns
-
(::Google::Cloud::DiscoveryEngine::V1::Document) — The document data snippet in the search response. Only fields that are
marked as
retrievable
are populated.
#document=
def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Document
Parameter
-
value (::Google::Cloud::DiscoveryEngine::V1::Document) — The document data snippet in the search response. Only fields that are
marked as
retrievable
are populated.
Returns
-
(::Google::Cloud::DiscoveryEngine::V1::Document) — The document data snippet in the search response. Only fields that are
marked as
retrievable
are populated.
#id
def id() -> ::String
Returns
- (::String) — Document.id of the searched Document.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — Document.id of the searched Document.
Returns
- (::String) — Document.id of the searched Document.