Discovery Engine v1beta API - Class SearchResponse.Types.SearchResult (1.0.0-beta06)

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 v1beta API class SearchResponse.Types.SearchResult.

Represents the search results.

Inheritance

object > SearchResponse.Types.SearchResult

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SearchResult()

public SearchResult()

SearchResult(SearchResult)

public SearchResult(SearchResponse.Types.SearchResult other)
Parameter
NameDescription
otherSearchResponseTypesSearchResult

Properties

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
TypeDescription
Document

Id

public string Id { get; set; }

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

Property Value
TypeDescription
string