Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelCountryRegionInfo

Inherits:
Object
  • Object
show all
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

Country or Region the hotel is located in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelCountryRegionInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelCountryRegionInfo.



5461
5462
5463
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5461

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#country_region_criterionString

The Geo Target Constant resource name. Corresponds to the JSON property countryRegionCriterion

Returns:

  • (String)


5459
5460
5461
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5459

def country_region_criterion
  @country_region_criterion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5466
5467
5468
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5466

def update!(**args)
  @country_region_criterion = args[:country_region_criterion] if args.key?(:country_region_criterion)
end