Class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image
 
 
- 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 large image.
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)  ⇒ Image 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Image.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Image
Returns a new instance of Image
      985 986 987  | 
    
      # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 985 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#height ⇒ Fixnum
Corresponds to the JSON property height
      973 974 975  | 
    
      # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 973 def height @height end  | 
  
#url ⇒ String
Corresponds to the JSON property url
      978 979 980  | 
    
      # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 978 def url @url end  | 
  
#width ⇒ Fixnum
Corresponds to the JSON property width
      983 984 985  | 
    
      # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 983 def width @width end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      990 991 992 993 994  | 
    
      # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 990 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  |