class Google::Apis::CloudsearchV1::Person
Object to represent a person.
Attributes
The person's email addresses Corresponds to the JSON property `emailAddresses` @return [Array<Google::Apis::CloudsearchV1::EmailAddress>]
The resource name of the person to provide information about. See People.get from Google
People API. Corresponds to the JSON property `name` @return [String]
Obfuscated ID of a person. Corresponds to the JSON property `obfuscatedId` @return [String]
The person's name Corresponds to the JSON property `personNames` @return [Array<Google::Apis::CloudsearchV1::Name>]
A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results. Corresponds to the JSON property `photos` @return [Array<Google::Apis::CloudsearchV1::Photo>]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2807 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2812 def update!(**args) @email_addresses = args[:email_addresses] if args.key?(:email_addresses) @name = args[:name] if args.key?(:name) @obfuscated_id = args[:obfuscated_id] if args.key?(:obfuscated_id) @person_names = args[:person_names] if args.key?(:person_names) @photos = args[:photos] if args.key?(:photos) end