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, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented on this page is 3.22.0, and there are numerous previous versions accessible, spanning from 3.21.0 back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class represents a structured data type for messages, incorporating a \u003ccode\u003erole\u003c/code\u003e field to identify the producer and a \u003ccode\u003eparts\u003c/code\u003e field for multi-part message content.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, indicating its integration within the Google.Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e class includes properties such as \u003ccode\u003eParts\u003c/code\u003e, which is a required field containing an ordered list of message parts with potentially different MIME types, and \u003ccode\u003eRole\u003c/code\u003e, an optional string identifying the message producer.\u003c/p\u003e\n"]]],[],null,[]]