Class: Google::Cloud::Ces::V1::Image
- Inherits:
-
Object
- Object
- Google::Cloud::Ces::V1::Image
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/ces/v1/example.rb
Overview
Represents an image input or output in the conversation.
Instance Attribute Summary collapse
-
#data ⇒ ::String
Required.
-
#mime_type ⇒ ::String
Required.
Instance Attribute Details
#data ⇒ ::String
Returns Required. Raw bytes of the image.
163 164 165 166 |
# File 'proto_docs/google/cloud/ces/v1/example.rb', line 163 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mime_type ⇒ ::String
Returns Required. The IANA standard MIME type of the source data. Supported image types includes:
- image/png
- image/jpeg
- image/webp.
163 164 165 166 |
# File 'proto_docs/google/cloud/ces/v1/example.rb', line 163 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |