Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelCityInfo

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

City the hotel is located in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelCityInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelCityInfo.



5483
5484
5485
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5483

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

Instance Attribute Details

#city_criterionString

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

Returns:

  • (String)


5481
5482
5483
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5481

def city_criterion
  @city_criterion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5488
5489
5490
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5488

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