Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::Image (v0.6.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::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.

#input_config

def input_config() -> ::Google::Cloud::AutoML::V1beta1::InputConfig
Returns

#input_config=

def input_config=(value) -> ::Google::Cloud::AutoML::V1beta1::InputConfig
Parameter
Returns

#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.