Show / Hide Table of Contents

Class Person

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.

Inheritance
object
Person
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PeopleService.v1.Data
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class Person : IDirectResponseSchema

Properties

Addresses

The person's street addresses.

Declaration
[JsonProperty("addresses")]
public virtual IList<Address> Addresses { get; set; }
Property Value
Type Description
IList<Address>

AgeRange

Output only. DEPRECATED (Please use person.ageRanges instead) The person's age range.

Declaration
[JsonProperty("ageRange")]
public virtual string AgeRange { get; set; }
Property Value
Type Description
string

AgeRanges

Output only. The person's age ranges.

Declaration
[JsonProperty("ageRanges")]
public virtual IList<AgeRangeType> AgeRanges { get; set; }
Property Value
Type Description
IList<AgeRangeType>

Biographies

The person's biographies. This field is a singleton for contact sources.

Declaration
[JsonProperty("biographies")]
public virtual IList<Biography> Biographies { get; set; }
Property Value
Type Description
IList<Biography>

Birthdays

The person's birthdays. This field is a singleton for contact sources.

Declaration
[JsonProperty("birthdays")]
public virtual IList<Birthday> Birthdays { get; set; }
Property Value
Type Description
IList<Birthday>

BraggingRights

DEPRECATED: No data will be returned The person's bragging rights.

Declaration
[JsonProperty("braggingRights")]
public virtual IList<BraggingRights> BraggingRights { get; set; }
Property Value
Type Description
IList<BraggingRights>

CalendarUrls

The person's calendar URLs.

Declaration
[JsonProperty("calendarUrls")]
public virtual IList<CalendarUrl> CalendarUrls { get; set; }
Property Value
Type Description
IList<CalendarUrl>

ClientData

The person's client data.

Declaration
[JsonProperty("clientData")]
public virtual IList<ClientData> ClientData { get; set; }
Property Value
Type Description
IList<ClientData>

CoverPhotos

Output only. The person's cover photos.

Declaration
[JsonProperty("coverPhotos")]
public virtual IList<CoverPhoto> CoverPhotos { get; set; }
Property Value
Type Description
IList<CoverPhoto>

ETag

The HTTP entity tag of the resource. Used for web cache validation.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

EmailAddresses

The person's email addresses. For people.connections.list and otherContacts.list the number of email addresses is limited to 100. If a Person has more email addresses the entire set can be obtained by calling GetPeople.

Declaration
[JsonProperty("emailAddresses")]
public virtual IList<EmailAddress> EmailAddresses { get; set; }
Property Value
Type Description
IList<EmailAddress>

Events

The person's events.

Declaration
[JsonProperty("events")]
public virtual IList<Event> Events { get; set; }
Property Value
Type Description
IList<Event>

ExternalIds

The person's external IDs.

Declaration
[JsonProperty("externalIds")]
public virtual IList<ExternalId> ExternalIds { get; set; }
Property Value
Type Description
IList<ExternalId>

FileAses

The person's file-ases.

Declaration
[JsonProperty("fileAses")]
public virtual IList<FileAs> FileAses { get; set; }
Property Value
Type Description
IList<FileAs>

Genders

The person's genders. This field is a singleton for contact sources.

Declaration
[JsonProperty("genders")]
public virtual IList<Gender> Genders { get; set; }
Property Value
Type Description
IList<Gender>

ImClients

The person's instant messaging clients.

Declaration
[JsonProperty("imClients")]
public virtual IList<ImClient> ImClients { get; set; }
Property Value
Type Description
IList<ImClient>

Interests

The person's interests.

Declaration
[JsonProperty("interests")]
public virtual IList<Interest> Interests { get; set; }
Property Value
Type Description
IList<Interest>

Locales

The person's locale preferences.

Declaration
[JsonProperty("locales")]
public virtual IList<Locale> Locales { get; set; }
Property Value
Type Description
IList<Locale>

Locations

The person's locations.

Declaration
[JsonProperty("locations")]
public virtual IList<Location> Locations { get; set; }
Property Value
Type Description
IList<Location>

Memberships

The person's group memberships.

Declaration
[JsonProperty("memberships")]
public virtual IList<Membership> Memberships { get; set; }
Property Value
Type Description
IList<Membership>

Metadata

Output only. Metadata about the person.

Declaration
[JsonProperty("metadata")]
public virtual PersonMetadata Metadata { get; set; }
Property Value
Type Description
PersonMetadata

MiscKeywords

The person's miscellaneous keywords.

Declaration
[JsonProperty("miscKeywords")]
public virtual IList<MiscKeyword> MiscKeywords { get; set; }
Property Value
Type Description
IList<MiscKeyword>

Names

The person's names. This field is a singleton for contact sources.

Declaration
[JsonProperty("names")]
public virtual IList<Name> Names { get; set; }
Property Value
Type Description
IList<Name>

Nicknames

The person's nicknames.

Declaration
[JsonProperty("nicknames")]
public virtual IList<Nickname> Nicknames { get; set; }
Property Value
Type Description
IList<Nickname>

Occupations

The person's occupations.

Declaration
[JsonProperty("occupations")]
public virtual IList<Occupation> Occupations { get; set; }
Property Value
Type Description
IList<Occupation>

Organizations

The person's past or current organizations.

Declaration
[JsonProperty("organizations")]
public virtual IList<Organization> Organizations { get; set; }
Property Value
Type Description
IList<Organization>

PhoneNumbers

The person's phone numbers. For people.connections.list and otherContacts.list the number of phone numbers is limited to 100. If a Person has more phone numbers the entire set can be obtained by calling GetPeople.

Declaration
[JsonProperty("phoneNumbers")]
public virtual IList<PhoneNumber> PhoneNumbers { get; set; }
Property Value
Type Description
IList<PhoneNumber>

Photos

Output only. The person's photos.

Declaration
[JsonProperty("photos")]
public virtual IList<Photo> Photos { get; set; }
Property Value
Type Description
IList<Photo>

Relations

The person's relations.

Declaration
[JsonProperty("relations")]
public virtual IList<Relation> Relations { get; set; }
Property Value
Type Description
IList<Relation>

RelationshipInterests

Output only. DEPRECATED: No data will be returned The person's relationship interests.

Declaration
[JsonProperty("relationshipInterests")]
public virtual IList<RelationshipInterest> RelationshipInterests { get; set; }
Property Value
Type Description
IList<RelationshipInterest>

RelationshipStatuses

Output only. DEPRECATED: No data will be returned The person's relationship statuses.

Declaration
[JsonProperty("relationshipStatuses")]
public virtual IList<RelationshipStatus> RelationshipStatuses { get; set; }
Property Value
Type Description
IList<RelationshipStatus>

Residences

DEPRECATED: (Please use person.locations instead) The person's residences.

Declaration
[JsonProperty("residences")]
public virtual IList<Residence> Residences { get; set; }
Property Value
Type Description
IList<Residence>

ResourceName

The resource name for the person, assigned by the server. An ASCII string in the form of people/{person_id}.

Declaration
[JsonProperty("resourceName")]
public virtual string ResourceName { get; set; }
Property Value
Type Description
string

SipAddresses

The person's SIP addresses.

Declaration
[JsonProperty("sipAddresses")]
public virtual IList<SipAddress> SipAddresses { get; set; }
Property Value
Type Description
IList<SipAddress>

Skills

The person's skills.

Declaration
[JsonProperty("skills")]
public virtual IList<Skill> Skills { get; set; }
Property Value
Type Description
IList<Skill>

Taglines

Output only. DEPRECATED: No data will be returned The person's taglines.

Declaration
[JsonProperty("taglines")]
public virtual IList<Tagline> Taglines { get; set; }
Property Value
Type Description
IList<Tagline>

Urls

The person's associated URLs.

Declaration
[JsonProperty("urls")]
public virtual IList<Url> Urls { get; set; }
Property Value
Type Description
IList<Url>

UserDefined

The person's user defined data.

Declaration
[JsonProperty("userDefined")]
public virtual IList<UserDefined> UserDefined { get; set; }
Property Value
Type Description
IList<UserDefined>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX