Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelImageAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelImageAsset
- 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 image asset suggestion for a hotel.
Instance Attribute Summary collapse
-
#asset_field_type ⇒ String
The Image asset type.
-
#uri ⇒ String
URI for the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesHotelImageAsset
constructor
A new instance of GoogleAdsSearchads360V23ServicesHotelImageAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesHotelImageAsset
Returns a new instance of GoogleAdsSearchads360V23ServicesHotelImageAsset.
41852 41853 41854 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41852 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_field_type ⇒ String
The Image asset type. For example, MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE,
etc.
Corresponds to the JSON property assetFieldType
41845 41846 41847 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41845 def asset_field_type @asset_field_type end |
#uri ⇒ String
URI for the image.
Corresponds to the JSON property uri
41850 41851 41852 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41850 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41857 41858 41859 41860 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41857 def update!(**args) @asset_field_type = args[:asset_field_type] if args.key?(:asset_field_type) @uri = args[:uri] if args.key?(:uri) end |