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

metadata[RW]

Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]

url[RW]

The URL of the photo. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/people_v1/classes.rb, line 515
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/people_v1/classes.rb, line 520
def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @url = args[:url] if args.key?(:url)
end