public sealed class Content : IMessage<Content>, IEquatable<Content>, IDeepCloneable<Content>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference information for the `Content` class within the Cloud AI Platform v1beta1 API."],["The `Content` class is a structured data type that represents the multi-part content of a message."],["`Content` includes a `role` field to define the content producer and a `parts` field for the actual message content."],["The `Parts` property of the `Content` class contains a collection of `Part` objects, which can have different MIME types."],["The `Role` property designates if the content is produced by a 'user' or a 'model'."]]],[]]