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.



29649
29650
29651
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29649

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)


29647
29648
29649
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29647

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29654
29655
29656
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29654

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