Discovery Engine v1 API - Class Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult (1.3.0)

public sealed class Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult : IMessage<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult>, IEquatable<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult>, IDeepCloneable<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult>, IBufferMessage, IMessage

Inheritance

object > Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

SearchResult()

public SearchResult()

SearchResult(SearchResult)

public SearchResult(Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult other)
Parameter
Name Description
other AnswerTypesStepTypesActionTypesObservationTypesSearchResult

Properties

ChunkInfo

public RepeatedField<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo> ChunkInfo { get; }

If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.

Property Value
Type Description
RepeatedFieldAnswerTypesStepTypesActionTypesObservationTypesSearchResultTypesChunkInfo

Document

public string Document { get; set; }

Document resource name.

Property Value
Type Description
string

SnippetInfo

public RepeatedField<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.SnippetInfo> SnippetInfo { get; }

If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.

Property Value
Type Description
RepeatedFieldAnswerTypesStepTypesActionTypesObservationTypesSearchResultTypesSnippetInfo

StructData

public Struct StructData { get; set; }

Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).

Property Value
Type Description
Struct

Title

public string Title { get; set; }

Title.

Property Value
Type Description
string

Uri

public string Uri { get; set; }

URI for the document.

Property Value
Type Description
string