Class GoogleCloudAiplatformV1Content
The structured data content of a message. A Content message contains a role field, which indicates the
producer of the content, and a parts field, which contains the multi-part data of the message.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1Content : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parts
Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.
Declaration
[JsonProperty("parts")]
public virtual IList<GoogleCloudAiplatformV1Part> Parts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudAiplatformV1Part> |
Role
Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| string |