class Google::Apis::CustomsearchV1::Promotion::Image
Attributes
height[RW]
Corresponds to the JSON property `height` @return [Fixnum]
source[RW]
Corresponds to the JSON property `source` @return [String]
width[RW]
Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 185 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/customsearch_v1/classes.rb, line 190 def update!(**args) @height = args[:height] if args.key?(:height) @source = args[:source] if args.key?(:source) @width = args[:width] if args.key?(:width) end