class Google::Apis::PeopleV1::ContactToCreate
A wrapper that contains the person data to populate a newly created source.
Attributes
contact_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 `contactPerson` @return [Google::Apis::PeopleV1::Person]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 667 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 672 def update!(**args) @contact_person = args[:contact_person] if args.key?(:contact_person) end