class Google::Apis::CustomsearchV1::Result::Image
Attributes
byte_size[RW]
Corresponds to the JSON property `byteSize` @return [Fixnum]
context_link[RW]
Corresponds to the JSON property `contextLink` @return [String]
height[RW]
Corresponds to the JSON property `height` @return [Fixnum]
thumbnail_height[RW]
Corresponds to the JSON property `thumbnailHeight` @return [Fixnum]
thumbnail_link[RW]
Corresponds to the JSON property `thumbnailLink` @return [String]
thumbnail_width[RW]
Corresponds to the JSON property `thumbnailWidth` @return [Fixnum]
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 574 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 579 def update!(**args) @byte_size = args[:byte_size] if args.key?(:byte_size) @context_link = args[:context_link] if args.key?(:context_link) @height = args[:height] if args.key?(:height) @thumbnail_height = args[:thumbnail_height] if args.key?(:thumbnail_height) @thumbnail_link = args[:thumbnail_link] if args.key?(:thumbnail_link) @thumbnail_width = args[:thumbnail_width] if args.key?(:thumbnail_width) @width = args[:width] if args.key?(:width) end