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.



5423
5424
5425
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5423

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)


5421
5422
5423
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5421

def city_criterion
  @city_criterion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5428
5429
5430
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5428

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