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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eAnswer.Types.Citation\u003c/code\u003e class in the Discovery Engine v1beta API is 1.0.0-beta18, which can be found under the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnswer.Types.Citation\u003c/code\u003e provides citation information for a specific segment and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class and it implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eCitation()\u003c/code\u003e and \u003ccode\u003eCitation(Answer.Types.Citation other)\u003c/code\u003e, for creating new citation objects, including one that can clone an existing citation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eEndIndex\u003c/code\u003e and \u003ccode\u003eStartIndex\u003c/code\u003e, which indicate the exclusive end and start positions of the attributed segment in bytes, and \u003ccode\u003eSources\u003c/code\u003e, which contains a list of citation sources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnswer.Types.Citation\u003c/code\u003e class is in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]