class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImage
Product thumbnail/detail image.
Attributes
Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to the JSON property `height` @return [Fixnum]
Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google
Merchant Center property [image_link](support.google. com/merchants/answer/6324350). Schema.org property [Product.image](https:// schema.org/image). Corresponds to the JSON property `uri` @return [String]
Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File lib/google/apis/retail_v2beta/classes.rb, line 1749 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/retail_v2beta/classes.rb, line 1754 def update!(**args) @height = args[:height] if args.key?(:height) @uri = args[:uri] if args.key?(:uri) @width = args[:width] if args.key?(:width) end