Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelStateInfo

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

State the hotel is located in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelStateInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelStateInfo.



5576
5577
5578
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5576

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

Instance Attribute Details

#state_criterionString

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

Returns:

  • (String)


5574
5575
5576
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5574

def state_criterion
  @state_criterion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5581
5582
5583
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5581

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