Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelTextAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelTextAsset
- 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 single text asset suggestion for a hotel.
Instance Attribute Summary collapse
-
#asset_field_type ⇒ String
The text asset type.
-
#text ⇒ String
Asset text in requested language.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesHotelTextAsset
constructor
A new instance of GoogleAdsSearchads360V23ServicesHotelTextAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesHotelTextAsset
Returns a new instance of GoogleAdsSearchads360V23ServicesHotelTextAsset.
41877 41878 41879 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_field_type ⇒ String
The text asset type. For example, HEADLINE, DESCRIPTION, etc.
Corresponds to the JSON property assetFieldType
41870 41871 41872 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41870 def asset_field_type @asset_field_type end |
#text ⇒ String
Asset text in requested language.
Corresponds to the JSON property text
41875 41876 41877 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41875 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41882 41883 41884 41885 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41882 def update!(**args) @asset_field_type = args[:asset_field_type] if args.key?(:asset_field_type) @text = args[:text] if args.key?(:text) end |