Discovery Engine v1beta API - Class Answer.Types.Citation (1.0.0-beta18)

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 v1beta API class Answer.Types.Citation.

Citation info for a segment.

Inheritance

object > Answer.Types.Citation

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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