Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization
- 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
Localization for the product category.
Instance Attribute Summary collapse
-
#language_code ⇒ String
Output only.
-
#region_code ⇒ String
Output only.
-
#value ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization
constructor
A new instance of GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization
Returns a new instance of GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.
17682 17683 17684 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
Output only. Two-letter ISO 639-1 language code of the localized category.
Corresponds to the JSON property languageCode
17669 17670 17671 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17669 def language_code @language_code end |
#region_code ⇒ String
Output only. Upper-case two-letter ISO 3166-1 country code of the localized
category.
Corresponds to the JSON property regionCode
17675 17676 17677 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17675 def region_code @region_code end |
#value ⇒ String
Output only. The name of the category in the specified locale.
Corresponds to the JSON property value
17680 17681 17682 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17680 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17687 17688 17689 17690 17691 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17687 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @region_code = args[:region_code] if args.key?(:region_code) @value = args[:value] if args.key?(:value) end |