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, a structured data type that represents multi-part content within a message.\u003c/p\u003e\n"],["\u003cp\u003eThe content includes a detailed list of available versions, from the latest 3.22.0 down to version 1.0.0, each with links to its specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class contains \u003ccode\u003eParts\u003c/code\u003e, which are ordered and can have different MIME types, and an optional \u003ccode\u003eRole\u003c/code\u003e property, which specifies whether the content producer is a user or a model.\u003c/p\u003e\n"],["\u003cp\u003eThe page outlines the \u003ccode\u003eContent\u003c/code\u003e class's inheritance from \u003ccode\u003eobject\u003c/code\u003e and its implementation of multiple interfaces, such as \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 document provides details on the constructor and properties of the \u003ccode\u003eContent\u003c/code\u003e class, outlining how it is structured and how it relates to its various parameters and other data points.\u003c/p\u003e\n"]]],[],null,[]]