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.



12653
12654
12655
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12653

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

Instance Attribute Details

#buying_methodString

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

Returns:

  • (String)


12641
12642
12643
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12641

def buying_method
  @buying_method
end

#cost_modelString

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

Returns:

  • (String)


12646
12647
12648
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12646

def cost_model
  @cost_model
end

#product_categoryString

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

Returns:

  • (String)


12651
12652
12653
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12651

def product_category
  @product_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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