Class: Google::Cloud::AutoML::V1beta1::Image

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/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.



37
38
39
40
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 37

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

#input_config::Google::Cloud::AutoML::V1beta1::InputConfig

Returns An input config specifying the content of the image.

Returns:



37
38
39
40
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 37

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.



37
38
39
40
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 37

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