Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesHotelGroupView

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

A hotel group view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesHotelGroupView

Returns a new instance of GoogleAdsSearchads360V23ResourcesHotelGroupView.



29628
29629
29630
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29628

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

Instance Attribute Details

#resource_nameString

Output only. The resource name of the hotel group view. Hotel Group view resource names have the form: customers/customer_id/hotelGroupViews/ ad_group_id~criterion_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


29626
29627
29628
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29626

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29633
29634
29635
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29633

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