class Google::Apis::Adexchangebuyer2V2beta1::Image
An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved.
Attributes
height[RW]
Image
height in pixels. Corresponds to the JSON property `height` @return [Fixnum]
url[RW]
The URL of the image. Corresponds to the JSON property `url` @return [String]
width[RW]
Image
width in pixels. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1936 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1941 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