Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::Image (v0.7.0)

Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::Image.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#image_bytes

def image_bytes() -> ::String
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.

#image_bytes=

def image_bytes=(value) -> ::String
Parameter
  • value (::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.
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.

#thumbnail_uri

def thumbnail_uri() -> ::String
Returns
  • (::String) — Output only. HTTP URI to the thumbnail image.

#thumbnail_uri=

def thumbnail_uri=(value) -> ::String
Parameter
  • value (::String) — Output only. HTTP URI to the thumbnail image.
Returns
  • (::String) — Output only. HTTP URI to the thumbnail image.