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.



42545
42546
42547
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42545

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)


42538
42539
42540
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42538

def asset_field_type
  @asset_field_type
end

#uriString

URI for the image. Corresponds to the JSON property uri

Returns:

  • (String)


42543
42544
42545
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42543

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42550
42551
42552
42553
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42550

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