Discovery Engine v1 API - Class SearchResponse.Types.SearchResult (1.1.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

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