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 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 \u003ccode\u003eContent\u003c/code\u003e class is a structured data type that represents multi-part content within a message, including a role and its component parts.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the Google.Cloud.AIPlatform.V1 API, with the latest version being 3.22.0 and also providing reference to older versions all the way back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eContent\u003c/code\u003e class include \u003ccode\u003eParts\u003c/code\u003e, which is an ordered collection of message components, and \u003ccode\u003eRole\u003c/code\u003e, which identifies the producer of the content (user or model).\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the \u003ccode\u003eContent\u003c/code\u003e class's implementation of various interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, along with information on its constructors and inherited members.\u003c/p\u003e\n"]]],[],null,[]]