class Google::Apis::PeopleV1::Photo
A person's photo. A picture shown next to the person's name to help others recognize the person.
Attributes
True if the photo is a default photo; false if the photo is a user-provided photo. Corresponds to the JSON property `default` @return [Boolean]
True if the photo is a default photo; false if the photo is a user-provided photo. Corresponds to the JSON property `default` @return [Boolean]
Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]
The URL of the photo. You can change the desired size by appending a query parameter `sz=`size“ at the end of the url, where `size` is the size in pixels. Example: lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/ AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50 Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File lib/google/apis/people_v1/classes.rb, line 2334 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 2339 def update!(**args) @default = args[:default] if args.key?(:default) @metadata = args[:metadata] if args.key?(:metadata) @url = args[:url] if args.key?(:url) end