Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A list of countries where a resource's serving is constrained.
Instance Attribute Summary collapse
-
#countries ⇒ Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint>
Countries in which serving is restricted.
-
#total_targeted_countries ⇒ Fixnum
Total number of countries targeted by the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList
constructor
A new instance of GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList
Returns a new instance of GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.
9200 9201 9202 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 9200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#countries ⇒ Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint>
Countries in which serving is restricted.
Corresponds to the JSON property countries
9193 9194 9195 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 9193 def countries @countries end |
#total_targeted_countries ⇒ Fixnum
Total number of countries targeted by the resource.
Corresponds to the JSON property totalTargetedCountries
9198 9199 9200 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 9198 def total_targeted_countries @total_targeted_countries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9205 9206 9207 9208 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 9205 def update!(**args) @countries = args[:countries] if args.key?(:countries) @total_targeted_countries = args[:total_targeted_countries] if args.key?(:total_targeted_countries) end |