Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelIdInfo

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

Advertiser-specific hotel ID.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelIdInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelIdInfo.



5499
5500
5501
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5499

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

Instance Attribute Details

#valueString

String value of the hotel ID. Corresponds to the JSON property value

Returns:

  • (String)


5497
5498
5499
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5497

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5504
5505
5506
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5504

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