Gemini Enterprise for Customer Experience v1 API - Class Image (1.0.0-beta02)

 public sealed class Image : IMessage<Image>, IEquatable<Image>, IDeepCloneable<Image>, IBufferMessage, IMessage 

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class Image.

Represents an image input or output in the conversation.

Inheritance

object > Image

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

Image()

 public Image() 

Image(Image)

 public Image(Image other) 
Parameter
Name
Description
other

Properties

Data

 public ByteString Data { get; set; } 

Required. Raw bytes of the image.

Property Value
Type
Description

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: