class Google::Apis::PeopleV1::SearchResult
A result of a search query.
Attributes
person[RW]
Information about a person merged from various data sources such as the authenticated user's contacts and profile data. Most fields can have multiple items. The items in a field have no guaranteed order, but each non-empty field is guaranteed to have exactly one field with `metadata.primary` set to true. Corresponds to the JSON property `person` @return [Google::Apis::PeopleV1::Person]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 2580 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 2585 def update!(**args) @person = args[:person] if args.key?(:person) end