Class: Google::Apis::DisplayvideoV2::ProductFeedData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

The details of product feed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductFeedData

Returns a new instance of ProductFeedData.



10181
10182
10183
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10181

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#is_feed_disabledBoolean Also known as: is_feed_disabled?

Whether the product feed has opted-out of showing products. Corresponds to the JSON property isFeedDisabled

Returns:

  • (Boolean)


10168
10169
10170
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10168

def is_feed_disabled
  @is_feed_disabled
end

#product_match_dimensionsArray<Google::Apis::DisplayvideoV2::ProductMatchDimension>

A list of dimensions used to match products. Corresponds to the JSON property productMatchDimensions



10174
10175
10176
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10174

def product_match_dimensions
  @product_match_dimensions
end

#product_match_typeString

How products are selected by the product feed. Corresponds to the JSON property productMatchType

Returns:

  • (String)


10179
10180
10181
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10179

def product_match_type
  @product_match_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10186
10187
10188
10189
10190
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10186

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