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- (::String) — Required. Raw bytes of the image.
#data=
def data=(value) -> ::String- value (::String) — Required. Raw bytes of the image.
- (::String) — Required. Raw bytes of the image.
#mime_type
def mime_type() -> ::String-
(::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-
value (::String) —
Required. The IANA standard MIME type of the source data. Supported image types includes:
- image/png
- image/jpeg
- image/webp
-
(::String) —
Required. The IANA standard MIME type of the source data. Supported image types includes:
- image/png
- image/jpeg
- image/webp