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.
17616 17617 17618 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17616 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
17603 17604 17605 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17603 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
17609 17610 17611 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17609 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
17614 17615 17616 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17614 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17621 17622 17623 17624 17625 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17621 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 |