class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Image
Catalog item thumbnail/detail image.
Attributes
height[RW]
Optional. Height of the image in number of pixels. Corresponds to the JSON property `height` @return [Fixnum]
uri[RW]
Required. URL of the image with a length limit of 5 KiB. Corresponds to the JSON property `uri` @return [String]
width[RW]
Optional. Width of the image in number of pixels. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 605 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 610 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