Class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Logo
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Logo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Logo
Returns a new instance of Logo
1003 1004 1005 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Corresponds to the JSON property height
991 992 993 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 991 def height @height end |
#url ⇒ String
Corresponds to the JSON property url
996 997 998 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 996 def url @url end |
#width ⇒ Fixnum
Corresponds to the JSON property width
1001 1002 1003 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1001 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1008 1009 1010 1011 1012 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1008 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 |