Discovery Engine v1 API - Class SearchResponse.Types.SearchResult (1.4.0)

public sealed class SearchResponse.Types.SearchResult : IMessage<SearchResponse.Types.SearchResult>, IEquatable<SearchResponse.Types.SearchResult>, IDeepCloneable<SearchResponse.Types.SearchResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class SearchResponse.Types.SearchResult.

Represents the search results.

Inheritance

object > SearchResponse.Types.SearchResult

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

SearchResult()

public SearchResult()

SearchResult(SearchResult)

public SearchResult(SearchResponse.Types.SearchResult other)
Parameter
Name Description
other SearchResponseTypesSearchResult

Properties

Chunk

public Chunk Chunk { get; set; }

The chunk data in the search response if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS].

Property Value
Type Description
Chunk

Document

public Document Document { get; set; }

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

Property Value
Type Description
Document

Id

public string Id { get; set; }

[Document.id][google.cloud.discoveryengine.v1.Document.id] of the searched [Document][google.cloud.discoveryengine.v1.Document].

Property Value
Type Description
string