Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability
- 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
Information about which locales a category is available in.
Instance Attribute Summary collapse
-
#availability_mode ⇒ String
Format of the locale availability.
-
#country_code ⇒ String
The ISO-3166-1 alpha-2 country code associated with the category.
-
#language_code ⇒ String
ISO 639-1 code of the language associated with the category.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability
constructor
A new instance of GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability
Returns a new instance of GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability.
3088 3089 3090 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3088 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availability_mode ⇒ String
Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and
language will be empty), COUNTRY (only country will be set), LANGUAGE (only
language wil be set), COUNTRY_AND_LANGUAGE (both country and language will be
set).
Corresponds to the JSON property availabilityMode
3076 3077 3078 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3076 def availability_mode @availability_mode end |
#country_code ⇒ String
The ISO-3166-1 alpha-2 country code associated with the category.
Corresponds to the JSON property countryCode
3081 3082 3083 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3081 def country_code @country_code end |
#language_code ⇒ String
ISO 639-1 code of the language associated with the category.
Corresponds to the JSON property languageCode
3086 3087 3088 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3086 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3093 3094 3095 3096 3097 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3093 def update!(**args) @availability_mode = args[:availability_mode] if args.key?(:availability_mode) @country_code = args[:country_code] if args.key?(:country_code) @language_code = args[:language_code] if args.key?(:language_code) end |