public sealed class Image : IMessage<Image>, IEquatable<Image>, IDeepCloneable<Image>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class Image.
Represents an image input or output in the conversation.
Namespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
Image()
public Image()Image(Image)
public Image(Image other)| Parameter | |
|---|---|
| Name | Description |
other |
Image |
Properties
Data
public ByteString Data { get; set; }Required. Raw bytes of the image.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
MimeType
public string MimeType { get; set; }Required. The IANA standard MIME type of the source data. Supported image types includes:
- image/png
- image/jpeg
- image/webp
| Property Value | |
|---|---|
| Type | Description |
string |
|