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\u003eThe webpage provides reference documentation for the \u003ccode\u003eContent\u003c/code\u003e class within the Google Cloud AI Platform v1 API, with the latest version being 3.22.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContent\u003c/code\u003e is a structured datatype representing multi-part content in a message, including the role of the content's producer and the message's parts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace, has constructors and properties such as \u003ccode\u003eParts\u003c/code\u003e (a collection of message parts) and \u003ccode\u003eRole\u003c/code\u003e (designating the producer as either 'user' or 'model').\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e API, from versions 1.0.0 all the way to 3.22.0, detailing the various versions available for use.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides the implementation details of the Content class such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, also listing methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]