Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceAsset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
An asset representing a list of price offers.
Instance Attribute Summary collapse
-
#language_code ⇒ String
Required.
-
#price_offerings ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceOffering>
The price offerings of the price asset.
-
#price_qualifier ⇒ String
The price qualifier of the price asset.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPriceAsset
constructor
A new instance of GoogleAdsSearchads360V23CommonPriceAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPriceAsset
Returns a new instance of GoogleAdsSearchads360V23CommonPriceAsset.
9284 9285 9286 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
Required. The language of the price asset. Represented as BCP 47 language tag.
Corresponds to the JSON property languageCode
9266 9267 9268 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9266 def language_code @language_code end |
#price_offerings ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceOffering>
The price offerings of the price asset. The size of this collection should be
between 3 and 8, inclusive.
Corresponds to the JSON property priceOfferings
9272 9273 9274 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9272 def price_offerings @price_offerings end |
#price_qualifier ⇒ String
The price qualifier of the price asset.
Corresponds to the JSON property priceQualifier
9277 9278 9279 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9277 def price_qualifier @price_qualifier end |
#type ⇒ String
Required. The type of the price asset.
Corresponds to the JSON property type
9282 9283 9284 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9282 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9289 9290 9291 9292 9293 9294 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9289 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @price_offerings = args[:price_offerings] if args.key?(:price_offerings) @price_qualifier = args[:price_qualifier] if args.key?(:price_qualifier) @type = args[:type] if args.key?(:type) end |