Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::Image (v0.8.2)

Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::Image.

Catalog item thumbnail/detail image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Integer
Returns
  • (::Integer) — Optional. Height of the image in number of pixels.

#height=

def height=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Height of the image in number of pixels.
Returns
  • (::Integer) — Optional. Height of the image in number of pixels.

#uri

def uri() -> ::String
Returns
  • (::String) — Required. URL of the image with a length limit of 5 KiB.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Required. URL of the image with a length limit of 5 KiB.
Returns
  • (::String) — Required. URL of the image with a length limit of 5 KiB.

#width

def width() -> ::Integer
Returns
  • (::Integer) — Optional. Width of the image in number of pixels.

#width=

def width=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Width of the image in number of pixels.
Returns
  • (::Integer) — Optional. Width of the image in number of pixels.