Class: Google::Cloud::Ces::V1beta::Image

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/ces/v1beta/example.rb

Overview

Represents an image input or output in the conversation.

Instance Attribute Summary collapse

Instance Attribute Details

#data::String

Returns Required. Raw bytes of the image.

Returns:

  • (::String)

    Required. Raw bytes of the image.



164
165
166
167
# File 'proto_docs/google/cloud/ces/v1beta/example.rb', line 164

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.

Returns:

  • (::String)

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

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


164
165
166
167
# File 'proto_docs/google/cloud/ces/v1beta/example.rb', line 164

class Image
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end