| Package | Description |
|---|---|
| com.google.api.services.people.v1 | |
| com.google.api.services.people.v1.model |
| Modifier and Type | Method and Description |
|---|---|
PeopleService.People.CreateContact |
PeopleService.People.createContact(Person content)
Create a new contact and return the person resource for that contact.
|
PeopleService.People.UpdateContact |
PeopleService.People.updateContact(String resourceName,
Person content)
Update contact data for an existing contact person.
|
| Constructor and Description |
|---|
CreateContact(Person content)
Create a new contact and return the person resource for that contact.
|
UpdateContact(String resourceName,
Person content)
Update contact data for an existing contact person.
|
| Modifier and Type | Method and Description |
|---|---|
Person |
Person.clone() |
Person |
ContactToCreate.getContactPerson()
Required.
|
Person |
PersonResponse.getPerson()
The person.
|
Person |
DeleteContactPhotoResponse.getPerson()
The updated person, if person_fields is set in the DeleteContactPhotoRequest; otherwise this
will be unset.
|
Person |
UpdateContactPhotoResponse.getPerson()
The updated person, if person_fields is set in the UpdateContactPhotoRequest; otherwise this
will be unset.
|
Person |
SearchResult.getPerson()
The matched Person.
|
Person |
Person.set(String fieldName,
Object value) |
Person |
Person.setAddresses(List<Address> addresses)
The person's street addresses.
|
Person |
Person.setAgeRange(String ageRange)
Output only.
|
Person |
Person.setAgeRanges(List<AgeRangeType> ageRanges)
Output only.
|
Person |
Person.setBiographies(List<Biography> biographies)
The person's biographies.
|
Person |
Person.setBirthdays(List<Birthday> birthdays)
The person's birthdays.
|
Person |
Person.setBraggingRights(List<BraggingRights> braggingRights)
**DEPRECATED**: No data will be returned The person's bragging rights.
|
Person |
Person.setCalendarUrls(List<CalendarUrl> calendarUrls)
The person's calendar URLs.
|
Person |
Person.setClientData(List<ClientData> clientData)
The person's client data.
|
Person |
Person.setCoverPhotos(List<CoverPhoto> coverPhotos)
Output only.
|
Person |
Person.setEmailAddresses(List<EmailAddress> emailAddresses)
The person's email addresses.
|
Person |
Person.setEtag(String etag)
The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
Person |
Person.setEvents(List<Event> events)
The person's events.
|
Person |
Person.setExternalIds(List<ExternalId> externalIds)
The person's external IDs.
|
Person |
Person.setFileAses(List<FileAs> fileAses)
The person's file-ases.
|
Person |
Person.setGenders(List<Gender> genders)
The person's genders.
|
Person |
Person.setImClients(List<ImClient> imClients)
The person's instant messaging clients.
|
Person |
Person.setInterests(List<Interest> interests)
The person's interests.
|
Person |
Person.setLocales(List<Locale> locales)
The person's locale preferences.
|
Person |
Person.setLocations(List<Location> locations)
The person's locations.
|
Person |
Person.setMemberships(List<Membership> memberships)
The person's group memberships.
|
Person |
Person.setMetadata(PersonMetadata metadata)
Output only.
|
Person |
Person.setMiscKeywords(List<MiscKeyword> miscKeywords)
The person's miscellaneous keywords.
|
Person |
Person.setNames(List<Name> names)
The person's names.
|
Person |
Person.setNicknames(List<Nickname> nicknames)
The person's nicknames.
|
Person |
Person.setOccupations(List<Occupation> occupations)
The person's occupations.
|
Person |
Person.setOrganizations(List<Organization> organizations)
The person's past or current organizations.
|
Person |
Person.setPhoneNumbers(List<PhoneNumber> phoneNumbers)
The person's phone numbers.
|
Person |
Person.setPhotos(List<Photo> photos)
Output only.
|
Person |
Person.setRelations(List<Relation> relations)
The person's relations.
|
Person |
Person.setRelationshipInterests(List<RelationshipInterest> relationshipInterests)
Output only.
|
Person |
Person.setRelationshipStatuses(List<RelationshipStatus> relationshipStatuses)
Output only.
|
Person |
Person.setResidences(List<Residence> residences)
**DEPRECATED**: (Please use `person.locations` instead) The person's residences.
|
Person |
Person.setResourceName(String resourceName)
The resource name for the person, assigned by the server.
|
Person |
Person.setSipAddresses(List<SipAddress> sipAddresses)
The person's SIP addresses.
|
Person |
Person.setSkills(List<Skill> skills)
The person's skills.
|
Person |
Person.setTaglines(List<Tagline> taglines)
Output only.
|
Person |
Person.setUrls(List<Url> urls)
The person's associated URLs.
|
Person |
Person.setUserDefined(List<UserDefined> userDefined)
The person's user defined data.
|
| Modifier and Type | Method and Description |
|---|---|
List<Person> |
ListConnectionsResponse.getConnections()
The list of people that the requestor is connected to.
|
Map<String,Person> |
BatchUpdateContactsRequest.getContacts()
Required.
|
List<Person> |
ListOtherContactsResponse.getOtherContacts()
The list of "Other contacts" returned as Person resources.
|
List<Person> |
ListDirectoryPeopleResponse.getPeople()
The list of people in the domain directory.
|
List<Person> |
SearchDirectoryPeopleResponse.getPeople()
The list of people in the domain directory that match the query.
|
| Modifier and Type | Method and Description |
|---|---|
ContactToCreate |
ContactToCreate.setContactPerson(Person contactPerson)
Required.
|
PersonResponse |
PersonResponse.setPerson(Person person)
The person.
|
DeleteContactPhotoResponse |
DeleteContactPhotoResponse.setPerson(Person person)
The updated person, if person_fields is set in the DeleteContactPhotoRequest; otherwise this
will be unset.
|
UpdateContactPhotoResponse |
UpdateContactPhotoResponse.setPerson(Person person)
The updated person, if person_fields is set in the UpdateContactPhotoRequest; otherwise this
will be unset.
|
SearchResult |
SearchResult.setPerson(Person person)
The matched Person.
|
| Modifier and Type | Method and Description |
|---|---|
ListConnectionsResponse |
ListConnectionsResponse.setConnections(List<Person> connections)
The list of people that the requestor is connected to.
|
BatchUpdateContactsRequest |
BatchUpdateContactsRequest.setContacts(Map<String,Person> contacts)
Required.
|
ListOtherContactsResponse |
ListOtherContactsResponse.setOtherContacts(List<Person> otherContacts)
The list of "Other contacts" returned as Person resources.
|
ListDirectoryPeopleResponse |
ListDirectoryPeopleResponse.setPeople(List<Person> people)
The list of people in the domain directory.
|
SearchDirectoryPeopleResponse |
SearchDirectoryPeopleResponse.setPeople(List<Person> people)
The list of people in the domain directory that match the query.
|
Copyright © 2011–2025 Google. All rights reserved.