public sealed class GenerateGroundedContentResponse.Types.Candidate : IMessage<GenerateGroundedContentResponse.Types.Candidate>, IEquatable<GenerateGroundedContentResponse.Types.Candidate>, IDeepCloneable<GenerateGroundedContentResponse.Types.Candidate>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GenerateGroundedContentResponse.Types.Candidate.
[[["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\u003eThis document provides reference documentation for the \u003ccode\u003eGenerateGroundedContentResponse.Types.Candidate\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateGroundedContentResponse.Types.Candidate\u003c/code\u003e class represents a response candidate generated by the model and inherits from the object class while implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eContent\u003c/code\u003e (of type \u003ccode\u003eGroundedGenerationContent\u003c/code\u003e), \u003ccode\u003eGroundingMetadata\u003c/code\u003e (of type \u003ccode\u003eGroundingMetadata\u003c/code\u003e), \u003ccode\u003eGroundingScore\u003c/code\u003e (a float), and \u003ccode\u003eIndex\u003c/code\u003e (an integer) to provide details about the candidate.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for the class include a default constructor \u003ccode\u003eCandidate()\u003c/code\u003e and another \u003ccode\u003eCandidate(GenerateGroundedContentResponse.Types.Candidate other)\u003c/code\u003e that takes an existing candidate for creation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e1.0.0-beta18\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta17\u003c/code\u003e is also referenced within the document.\u003c/p\u003e\n"]]],[],null,[]]