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

PersonCore

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

Information for rendering a person. NEXT ID: 37

interface PersonCore {
addressMeAs?: string;
admins?: PersonCore[];
adminTo?: PersonCore[];
availabilityStatus?:
| "UNKNOWN"
| "OUT_OF_OFFICE"
| "OUTSIDE_WORKING_HOURS"
| "AVAILABLE";
birthday?: Date;
calendarUrl?: SafeUrlProto;
chatUrl?: SafeUrlProto;
costCenter?: string;
department?: string;
directReports?: PersonCore[];
dottedLineManagers?: PersonCore[];
dottedLineReports?: PersonCore[];
emails?: string[];
employeeId?: string;
fingerprint?: string;
ftePermille?: bigint;
geoLocation?: MapInfo;
gmailUrl?: string;
jobTitle?: string;
keywords?: {
[key: string]: string;
}
;
keywordTypes?: string[];
location?: string;
managers?: PersonCore[];
mission?: string;
name?: string;
officeLocation?: string;
personId?: string;
photoUrl?: SafeUrlProto;
postalAddress?: string;
totalDirectReportsCount?: number;
totalDlrCount?: number;
totalFteCount?: bigint;
username?: string;
waldoComeBackTime?: Date;
}

§Properties

§
addressMeAs?: string
[src]

Instructions for how to address this person (e.g. custom pronouns). For google.com this is a set of pronouns from a defined list of options.

§
admins?: PersonCore[]
[src]

The profile owner's admins in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.

§
adminTo?: PersonCore[]
[src]

People the profile owner is an admin to. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.

§
availabilityStatus?: "UNKNOWN" | "OUT_OF_OFFICE" | "OUTSIDE_WORKING_HOURS" | "AVAILABLE"
[src]
§
birthday?: Date
[src]

Person birthday.

§
calendarUrl?: SafeUrlProto
[src]

The URL to open the profile owner's primary calendar.

§

The URL to start a chat conversation with the profile owner. For google.com this is a Hangouts URL.

§
costCenter?: string
[src]

Person's cost center as a string, e.g. "926: Googler Apps".

§
department?: string
[src]

The person's Organization department, e.g. "People Operations". For google.com this is usually called "area".

§
directReports?: PersonCore[]
[src]

A subset of the profile owner's direct reports. The number of entities here may be less than total_direct_reports_count, because typically ProfileResponse does not include all the person's reports, if there are too many to retrieve efficiently. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.

§
dottedLineManagers?: PersonCore[]
[src]

The profile owner's direct dotted line managers in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.

§
dottedLineReports?: PersonCore[]
[src]

A subset of the profile owner's dotted-line reports. The number of entities here may be less than total_dlr_count. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.

§
emails?: string[]
[src]

E-mail addresses of the person. The primary or preferred email should be first.

§
employeeId?: string
[src]

Person's employee number (external ID of type "organization") For google.com this is the badge number (e.g. 2 for Larry Page).

§
fingerprint?: string
[src]

A fingerprint used by PAPI to reliably determine if a resource has changed Externally it is used as part of the etag.

§
ftePermille?: bigint
[src]

Full-time equivalent (in ‰) (e.g. 800 for a person who's working 80%).

§
geoLocation?: MapInfo
[src]
§
gmailUrl?: string
[src]
§
jobTitle?: string
[src]

Profile owner's job title (e.g. "Software Engineer"). For google.com this is the Workday preferred job title.

§
keywords?: {
[key: string]: string;
}
[src]

Custom keywords the domain admin has added.

§
keywordTypes?: string[]
[src]

List of keys to use from the map 'keywords'.

§
location?: string
[src]

Detailed desk location within the company. For google.com this is the desk location code (e.g. "DE-MUC-ARP-6T2-6T2C0C") if the person has a desk.

§
managers?: PersonCore[]
[src]

The profile owner's management chain from top to bottom, where managers[0] is the CEO, manager[N-2] is the person's manager's manager and managers[N-1] is the person's direct manager. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.

§
mission?: string
[src]

Custom mission statement the profile owner has added.

§
name?: string
[src]

Human-readable Unicode display name.

§
officeLocation?: string
[src]

Office/building identifier within the company. For google.com this is the office code (e.g. "DE-MUC-ARP").

§
personId?: string
[src]

The person's obfuscated Gaia ID.

§

Person photo.

§
postalAddress?: string
[src]

Postal address of office/building.

§
totalDirectReportsCount?: number
[src]

Total count of the profile owner's direct reports.

§
totalDlrCount?: number
[src]

Total count of the profile owner's dotted-line reports.

§
totalFteCount?: bigint
[src]

The sum of all profile owner's reports and their own full-time-equivalents in ‰ (e.g. 1800 if one report is working 80% and profile owner 100%).

§
username?: string
[src]

External ID of type "login_id" for the profile. For google.com this is the username/LDAP.

§
waldoComeBackTime?: Date
[src]