public sealed class Content : IMessage<Content>, IEquatable<Content>, IDeepCloneable<Content>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform 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\u003eThis webpage provides documentation for the \u003ccode\u003eContent\u003c/code\u003e class within the Google Cloud AI Platform v1 API for .NET, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class serves as a base structured data type designed to hold multi-part content within a message, organized by \u003ccode\u003erole\u003c/code\u003e and \u003ccode\u003eparts\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a comprehensive list of available versions, ranging from 3.22.0 (latest) down to 1.0.0, with corresponding links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eContent\u003c/code\u003e class include \u003ccode\u003eParts\u003c/code\u003e, which holds a collection of message parts, and \u003ccode\u003eRole\u003c/code\u003e, which identifies the content producer (either 'user' or 'model').\u003c/p\u003e\n"]]],[],null,[]]