class Google::Apis::PlusV1::Person::Image
The representation of the person's profile photo.
Attributes
is_default[RW]
Whether the person's profile photo is the default one Corresponds to the JSON property `isDefault` @return [Boolean]
is_default?[RW]
Whether the person's profile photo is the default one Corresponds to the JSON property `isDefault` @return [Boolean]
url[RW]
The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. 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 1771 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 1776 def update!(**args) @is_default = args[:is_default] if args.key?(:is_default) @url = args[:url] if args.key?(:url) end