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 webpage provides reference documentation for the Vertex AI v1 API class \u003ccode\u003eContent\u003c/code\u003e, detailing its structure and purpose within the Google Cloud AI Platform.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContent\u003c/code\u003e is a structured datatype that represents multi-part messages, consisting of a designated \u003ccode\u003erole\u003c/code\u003e (either 'user' or 'model') and multiple \u003ccode\u003eParts\u003c/code\u003e which are the constituent data elements.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is version 3.22.0, but it contains documentation all the way back to version 1.0.0, allowing for review of many past iterations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering various functionalities and compatibility options.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation defines properties within \u003ccode\u003eContent\u003c/code\u003e, including \u003ccode\u003eParts\u003c/code\u003e, which is a required ordered list, and \u003ccode\u003eRole\u003c/code\u003e, an optional string that indicates the content producer.\u003c/p\u003e\n"]]],[],null,[]]