Class: Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::AppIcon
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::AppIcon
- 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
The app icon, for app download ads.
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) ⇒ AppIcon
constructor
A new instance of AppIcon.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppIcon
Returns a new instance of AppIcon.
686 687 688 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Corresponds to the JSON property height
674 675 676 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 674 def height @height end |
#url ⇒ String
Corresponds to the JSON property url
679 680 681 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 679 def url @url end |
#width ⇒ Fixnum
Corresponds to the JSON property width
684 685 686 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 684 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
691 692 693 694 695 |
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 691 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 |