Class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::AppIcon
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::AppIcon
 
- 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
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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppIcon
Returns a new instance of AppIcon
| 941 942 943 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 941 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#height ⇒ Fixnum
Corresponds to the JSON property height
| 929 930 931 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 929 def height @height end | 
#url ⇒ String
Corresponds to the JSON property url
| 934 935 936 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 934 def url @url end | 
#width ⇒ Fixnum
Corresponds to the JSON property width
| 939 940 941 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 939 def width @width end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 946 947 948 949 950 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 946 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 |