Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse

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

Response message for TravelAssetSuggestionService.SuggestTravelAssets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse.



54763
54764
54765
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54763

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

Instance Attribute Details

#hotel_asset_suggestionsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelAssetSuggestion>

Asset suggestions for each place ID submitted in the request. Corresponds to the JSON property hotelAssetSuggestions



54761
54762
54763
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54761

def hotel_asset_suggestions
  @hotel_asset_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54768
54769
54770
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54768

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