Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Person

import type { Person } from "https://googleapis.deno.dev/v1/people:v1.ts";

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.

interface Person {
addresses?: Address[];
readonly ageRange?:
| "AGE_RANGE_UNSPECIFIED"
| "LESS_THAN_EIGHTEEN"
| "EIGHTEEN_TO_TWENTY"
| "TWENTY_ONE_OR_OLDER";
readonly ageRanges?: AgeRangeType[];
biographies?: Biography[];
birthdays?: Birthday[];
braggingRights?: BraggingRights[];
calendarUrls?: CalendarUrl[];
clientData?: ClientData[];
readonly coverPhotos?: CoverPhoto[];
emailAddresses?: EmailAddress[];
etag?: string;
events?: Event[];
externalIds?: ExternalId[];
fileAses?: FileAs[];
genders?: Gender[];
imClients?: ImClient[];
interests?: Interest[];
locales?: Locale[];
locations?: Location[];
memberships?: Membership[];
readonly metadata?: PersonMetadata;
miscKeywords?: MiscKeyword[];
names?: Name[];
nicknames?: Nickname[];
occupations?: Occupation[];
organizations?: Organization[];
phoneNumbers?: PhoneNumber[];
readonly photos?: Photo[];
relations?: Relation[];
readonly relationshipInterests?: RelationshipInterest[];
readonly relationshipStatuses?: RelationshipStatus[];
residences?: Residence[];
resourceName?: string;
sipAddresses?: SipAddress[];
skills?: Skill[];
readonly taglines?: Tagline[];
urls?: Url[];
userDefined?: UserDefined[];
}

§Properties

§
addresses?: Address[]
[src]

The person's street addresses.

§
readonly ageRange?: "AGE_RANGE_UNSPECIFIED" | "LESS_THAN_EIGHTEEN" | "EIGHTEEN_TO_TWENTY" | "TWENTY_ONE_OR_OLDER"
[src]

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

§
readonly ageRanges?: AgeRangeType[]
[src]

Output only. The person's age ranges.

§
biographies?: Biography[]
[src]

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

§
birthdays?: Birthday[]
[src]

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

§
braggingRights?: BraggingRights[]
[src]

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

§
calendarUrls?: CalendarUrl[]
[src]

The person's calendar URLs.

§
clientData?: ClientData[]
[src]

The person's client data.

§
readonly coverPhotos?: CoverPhoto[]
[src]

Output only. The person's cover photos.

§
emailAddresses?: EmailAddress[]
[src]

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.

§
etag?: string
[src]

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

§
events?: Event[]
[src]

The person's events.

§
externalIds?: ExternalId[]
[src]

The person's external IDs.

§
fileAses?: FileAs[]
[src]

The person's file-ases.

§
genders?: Gender[]
[src]

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

§
imClients?: ImClient[]
[src]

The person's instant messaging clients.

§
interests?: Interest[]
[src]

The person's interests.

§
locales?: Locale[]
[src]

The person's locale preferences.

§
locations?: Location[]
[src]

The person's locations.

§
memberships?: Membership[]
[src]

The person's group memberships.

§
readonly metadata?: PersonMetadata
[src]

Output only. Metadata about the person.

§
miscKeywords?: MiscKeyword[]
[src]

The person's miscellaneous keywords.

§
names?: Name[]
[src]

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

§
nicknames?: Nickname[]
[src]

The person's nicknames.

§
occupations?: Occupation[]
[src]

The person's occupations.

§
organizations?: Organization[]
[src]

The person's past or current organizations.

§
phoneNumbers?: PhoneNumber[]
[src]

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.

§
readonly photos?: Photo[]
[src]

Output only. The person's photos.

§
relations?: Relation[]
[src]

The person's relations.

§
readonly relationshipInterests?: RelationshipInterest[]
[src]

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

§
readonly relationshipStatuses?: RelationshipStatus[]
[src]

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

§
residences?: Residence[]
[src]

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

§
resourceName?: string
[src]

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

§
sipAddresses?: SipAddress[]
[src]

The person's SIP addresses.

§
skills?: Skill[]
[src]

The person's skills.

§
readonly taglines?: Tagline[]
[src]

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

§
urls?: Url[]
[src]

The person's associated URLs.

§
userDefined?: UserDefined[]
[src]

The person's user defined data.