public sealed class Content : IMessage<Content>, IEquatable<Content>, IDeepCloneable<Content>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class Content.
The base structured datatype containing multi-part content of a message.
A Content includes a role field designating the producer of the Content
and a parts field containing multi-part data that contains the content of
the message turn.
[[["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-20 UTC."],[[["\u003cp\u003eThe latest version of the Google.Cloud.AIPlatform.V1.Content is 3.22.0, with a range of previous versions from 3.21.0 down to 1.0.0 also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class is a base structured datatype for multi-part content within a message and is part of the Vertex AI v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContent\u003c/code\u003e objects contain a \u003ccode\u003erole\u003c/code\u003e (producer) and \u003ccode\u003eparts\u003c/code\u003e (multi-part data), which are crucial for defining message content, particularly in multi-turn conversations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its comprehensive functionality and integration within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides reference documentation and code samples, offering a public \u003ccode\u003eContent\u003c/code\u003e constructor, a constructor taking in another content parameter, and properties that include \u003ccode\u003eParts\u003c/code\u003e and \u003ccode\u003eRole\u003c/code\u003e to manage multi-part messages.\u003c/p\u003e\n"]]],[],null,[]]