class Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail
Attributes
description[RW]
Potential name of the thumbnail. Corresponds to the JSON property `description` @return [String]
image[RW]
Image resource. Corresponds to the JSON property `image` @return [Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image]
url[RW]
URL of the webpage containing the image. Corresponds to the JSON property `url` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 751 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/plus_v1/classes.rb, line 756 def update!(**args) @description = args[:description] if args.key?(:description) @image = args[:image] if args.key?(:image) @url = args[:url] if args.key?(:url) end