Class: Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::Logo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/adexchangebuyer_v1_3/classes.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb

Overview

A smaller image, for the advertiser logo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Logo

Returns a new instance of Logo.



708
709
710
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 708

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#heightFixnum

Corresponds to the JSON property height

Returns:

  • (Fixnum)


696
697
698
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 696

def height
  @height
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


701
702
703
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 701

def url
  @url
end

#widthFixnum

Corresponds to the JSON property width

Returns:

  • (Fixnum)


706
707
708
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 706

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



713
714
715
716
717
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 713

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