Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Image (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Image.

Represents an image input or output in the conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data

def data() -> ::String
Returns
  • (::String) — Required. Raw bytes of the image.

#data=

def data=(value) -> ::String
Parameter
  • value (::String) — Required. Raw bytes of the image.
Returns
  • (::String) — Required. Raw bytes of the image.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) —

    Required. The IANA standard MIME type of the source data. Supported image types includes:

    • image/png
    • image/jpeg
    • image/webp

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) —

    Required. The IANA standard MIME type of the source data. Supported image types includes:

    • image/png
    • image/jpeg
    • image/webp
Returns
  • (::String) —

    Required. The IANA standard MIME type of the source data. Supported image types includes:

    • image/png
    • image/jpeg
    • image/webp