Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo

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

Criterion for hotel date selection (default dates versus user selected).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo.



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

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

Instance Attribute Details

#typeString

Type of the hotel date selection Corresponds to the JSON property type

Returns:

  • (String)


5478
5479
5480
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5478

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5485
5486
5487
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5485

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