Class: Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::Logo
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::Logo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- 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
-
#height ⇒ Fixnum
Corresponds to the JSON property
height
. -
#url ⇒ String
Corresponds to the JSON property
url
. -
#width ⇒ Fixnum
Corresponds to the JSON property
width
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Logo
constructor
A new instance of Logo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Logo
Returns a new instance of Logo.
748 749 750 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Corresponds to the JSON property height
736 737 738 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 736 def height @height end |
#url ⇒ String
Corresponds to the JSON property url
741 742 743 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 741 def url @url end |
#width ⇒ Fixnum
Corresponds to the JSON property width
746 747 748 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 746 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
753 754 755 756 757 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 753 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 |