class Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image
Image resource.
Attributes
height[RW]
The height, in pixels, of the linked resource. Corresponds to the JSON property `height` @return [Fixnum]
type[RW]
Media type of the link. Corresponds to the JSON property `type` @return [String]
url[RW]
Image url. Corresponds to the JSON property `url` @return [String]
width[RW]
The width, in pixels, of the linked resource. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 786 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 791 def update!(**args) @height = args[:height] if args.key?(:height) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) @width = args[:width] if args.key?(:width) end