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

Name

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

A person's name. If the name is a mononym, the family name is empty.

interface Name {
readonly displayName?: string;
readonly displayNameLastFirst?: string;
familyName?: string;
givenName?: string;
honorificPrefix?: string;
honorificSuffix?: string;
metadata?: FieldMetadata;
middleName?: string;
phoneticFamilyName?: string;
phoneticFullName?: string;
phoneticGivenName?: string;
phoneticHonorificPrefix?: string;
phoneticHonorificSuffix?: string;
phoneticMiddleName?: string;
unstructuredName?: string;
}

§Properties

§
readonly displayName?: string
[src]

Output only. The display name formatted according to the locale specified by the viewer's account or the Accept-Language HTTP header.

§
readonly displayNameLastFirst?: string
[src]

Output only. The display name with the last name first formatted according to the locale specified by the viewer's account or the Accept-Language HTTP header.

§
familyName?: string
[src]

The family name.

§
givenName?: string
[src]

The given name.

§
honorificPrefix?: string
[src]

The honorific prefixes, such as Mrs. or Dr.

§
honorificSuffix?: string
[src]

The honorific suffixes, such as Jr.

§

Metadata about the name.

§
middleName?: string
[src]

The middle name(s).

§
phoneticFamilyName?: string
[src]

The family name spelled as it sounds.

§
phoneticFullName?: string
[src]

The full name spelled as it sounds.

§
phoneticGivenName?: string
[src]

The given name spelled as it sounds.

§
phoneticHonorificPrefix?: string
[src]

The honorific prefixes spelled as they sound.

§
phoneticHonorificSuffix?: string
[src]

The honorific suffixes spelled as they sound.

§
phoneticMiddleName?: string
[src]

The middle name(s) spelled as they sound.

§
unstructuredName?: string
[src]

The free form name value.