Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesHotelPerformanceView

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 performance view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesHotelPerformanceView

Returns a new instance of GoogleAdsSearchads360V23ResourcesHotelPerformanceView.



29750
29751
29752
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29750

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

Instance Attribute Details

#resource_nameString

Output only. The resource name of the hotel performance view. Hotel performance view resource names have the form: customers/customer_id/ hotelPerformanceView Corresponds to the JSON property resourceName

Returns:

  • (String)


29748
29749
29750
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29748

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29755
29756
29757
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29755

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