public sealed class GroundedGenerationContent.Types.Part : IMessage<GroundedGenerationContent.Types.Part>, IEquatable<GroundedGenerationContent.Types.Part>, IDeepCloneable<GroundedGenerationContent.Types.Part>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationContent.Types.Part.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGroundedGenerationContent.Types.Part\u003c/code\u003e class in the Discovery Engine v1 API is 1.6.0, and there are also previous versions documented, ranging from 1.5.0 down to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents a single component of content, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class, while also implementing \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 \u003ccode\u003ePart\u003c/code\u003e class includes constructors for creating new instances, either empty or by copying an existing \u003ccode\u003ePart\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties such as \u003ccode\u003eDataCase\u003c/code\u003e, indicating which type of data is currently set, \u003ccode\u003eHasText\u003c/code\u003e to check whether the "text" property is set, and \u003ccode\u003eText\u003c/code\u003e to get or set the inline text content of the part.\u003c/p\u003e\n"]]],[],null,[]]