Class: Google::Apis::DisplayvideoV4::PlannableProductCoreAttributes
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::PlannableProductCoreAttributes
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
Core attributes for a plannable product.
Instance Attribute Summary collapse
-
#buying_method ⇒ String
Output only.
-
#cost_model ⇒ String
Output only.
-
#product_category ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlannableProductCoreAttributes
constructor
A new instance of PlannableProductCoreAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlannableProductCoreAttributes
Returns a new instance of PlannableProductCoreAttributes.
12683 12684 12685 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buying_method ⇒ String
Output only. The buying method.
Corresponds to the JSON property buyingMethod
12671 12672 12673 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12671 def @buying_method end |
#cost_model ⇒ String
Output only. The cost model.
Corresponds to the JSON property costModel
12676 12677 12678 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12676 def cost_model @cost_model end |
#product_category ⇒ String
Output only. The product category.
Corresponds to the JSON property productCategory
12681 12682 12683 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12681 def product_category @product_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12688 12689 12690 12691 12692 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12688 def update!(**args) @buying_method = args[:buying_method] if args.key?(:buying_method) @cost_model = args[:cost_model] if args.key?(:cost_model) @product_category = args[:product_category] if args.key?(:product_category) end |