Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelImageAsset

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 single image asset suggestion for a hotel.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeString

The Image asset type. For example, MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, etc. Corresponds to the JSON property assetFieldType

Returns:

  • (String)


41845
41846
41847
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41845

def asset_field_type
  @asset_field_type
end

#uriString

URI for the image. Corresponds to the JSON property uri

Returns:

  • (String)


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