Class: Google::Apis::DisplayvideoV3::ProductFeedData
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::ProductFeedData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
The details of product feed.
Instance Attribute Summary collapse
-
#is_feed_disabled ⇒ Boolean
(also: #is_feed_disabled?)
Whether the product feed has opted-out of showing products.
-
#product_match_dimensions ⇒ Array<Google::Apis::DisplayvideoV3::ProductMatchDimension>
A list of dimensions used to match products.
-
#product_match_type ⇒ String
How products are selected by the product feed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductFeedData
constructor
A new instance of ProductFeedData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductFeedData
Returns a new instance of ProductFeedData.
10803 10804 10805 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_feed_disabled ⇒ Boolean Also known as: is_feed_disabled?
Whether the product feed has opted-out of showing products.
Corresponds to the JSON property isFeedDisabled
10790 10791 10792 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10790 def is_feed_disabled @is_feed_disabled end |
#product_match_dimensions ⇒ Array<Google::Apis::DisplayvideoV3::ProductMatchDimension>
A list of dimensions used to match products.
Corresponds to the JSON property productMatchDimensions
10796 10797 10798 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10796 def product_match_dimensions @product_match_dimensions end |
#product_match_type ⇒ String
How products are selected by the product feed.
Corresponds to the JSON property productMatchType
10801 10802 10803 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10801 def product_match_type @product_match_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10808 10809 10810 10811 10812 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10808 def update!(**args) @is_feed_disabled = args[:is_feed_disabled] if args.key?(:is_feed_disabled) @product_match_dimensions = args[:product_match_dimensions] if args.key?(:product_match_dimensions) @product_match_type = args[:product_match_type] if args.key?(:product_match_type) end |