Discovery Engine v1 API - Class Answer.Types.Citation (1.1.0)

public sealed class Answer.Types.Citation : IMessage<Answer.Types.Citation>, IEquatable<Answer.Types.Citation>, IDeepCloneable<Answer.Types.Citation>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class Answer.Types.Citation.

Citation info for a segment.

Inheritance

object > Answer.Types.Citation

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

Citation()

public Citation()

Citation(Citation)

public Citation(Answer.Types.Citation other)
Parameter
Name Description
other AnswerTypesCitation

Properties

EndIndex

public long EndIndex { get; set; }

End of the attributed segment, exclusive.

Property Value
Type Description
long

Sources

public RepeatedField<Answer.Types.CitationSource> Sources { get; }

Citation sources for the attributed segment.

Property Value
Type Description
RepeatedFieldAnswerTypesCitationSource

StartIndex

public long StartIndex { get; set; }

Index indicates the start of the segment, measured in bytes (UTF-8 unicode).

Property Value
Type Description
long