Class: Google::Cloud::AutoML::V1::Image

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1/data_items.rb

Overview

A representation of an image. Only images up to 30MB in size are supported.

Instance Attribute Summary collapse

Instance Attribute Details

#image_bytes::String

Returns Image content represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Returns:

  • (::String)

    Image content represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.



34
35
36
37
# File 'proto_docs/google/cloud/automl/v1/data_items.rb', line 34

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

#thumbnail_uri::String

Returns Output only. HTTP URI to the thumbnail image.

Returns:

  • (::String)

    Output only. HTTP URI to the thumbnail image.



34
35
36
37
# File 'proto_docs/google/cloud/automl/v1/data_items.rb', line 34

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