class Google::Apis::ContentV2_1::CollectionFeaturedProduct
The message for FeaturedProduct. [FeaturedProduct](support.google.com/ merchants/answer/9703736)
Attributes
offer_id[RW]
The unique identifier for the product item. Corresponds to the JSON property `offerId` @return [String]
x[RW]
Required. X-coordinate of the product callout on the Shoppable Image. Corresponds to the JSON property `x` @return [Float]
y[RW]
Required. Y-coordinate of the product callout on the Shoppable Image. Corresponds to the JSON property `y` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 1965 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 1970 def update!(**args) @offer_id = args[:offer_id] if args.key?(:offer_id) @x = args[:x] if args.key?(:x) @y = args[:y] if args.key?(:y) end