Class: Google::Apis::DisplayvideoV2::ProductMatchDimension
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ProductMatchDimension
- 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
A dimension used to match products.
Instance Attribute Summary collapse
-
#custom_label ⇒ Google::Apis::DisplayvideoV2::CustomLabel
The key and value of a custom label.
-
#product_offer_id ⇒ String
The ID of the product offer to match with a product with the same offer ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductMatchDimension
constructor
A new instance of ProductMatchDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductMatchDimension
Returns a new instance of ProductMatchDimension.
10070 10071 10072 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10070 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_label ⇒ Google::Apis::DisplayvideoV2::CustomLabel
The key and value of a custom label.
Corresponds to the JSON property customLabel
10063 10064 10065 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10063 def custom_label @custom_label end |
#product_offer_id ⇒ String
The ID of the product offer to match with a product with the same offer ID.
Corresponds to the JSON property productOfferId
10068 10069 10070 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10068 def product_offer_id @product_offer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10075 10076 10077 10078 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10075 def update!(**args) @custom_label = args[:custom_label] if args.key?(:custom_label) @product_offer_id = args[:product_offer_id] if args.key?(:product_offer_id) end |