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.
9292 9293 9294 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9292 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
9274 9275 9276 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9274 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
9280 9281 9282 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9280 def price_offerings @price_offerings end |
#price_qualifier ⇒ String
The price qualifier of the price asset.
Corresponds to the JSON property priceQualifier
9285 9286 9287 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9285 def price_qualifier @price_qualifier end |
#type ⇒ String
Required. The type of the price asset.
Corresponds to the JSON property type
9290 9291 9292 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9290 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9297 9298 9299 9300 9301 9302 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9297 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 |