Class: Google::Apis::DisplayvideoV4::PlannableProductCoreAttributes

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlannableProductCoreAttributes

Returns a new instance of PlannableProductCoreAttributes.



12670
12671
12672
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12670

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

Instance Attribute Details

#buying_methodString

Output only. The buying method. Corresponds to the JSON property buyingMethod

Returns:

  • (String)


12658
12659
12660
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12658

def buying_method
  @buying_method
end

#cost_modelString

Output only. The cost model. Corresponds to the JSON property costModel

Returns:

  • (String)


12663
12664
12665
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12663

def cost_model
  @cost_model
end

#product_categoryString

Output only. The product category. Corresponds to the JSON property productCategory

Returns:

  • (String)


12668
12669
12670
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12668

def product_category
  @product_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12675
12676
12677
12678
12679
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12675

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