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

Address

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

A person's physical address. May be a P.O. box or street address. All fields are optional.

interface Address {
city?: string;
country?: string;
countryCode?: string;
extendedAddress?: string;
readonly formattedType?: string;
formattedValue?: string;
metadata?: FieldMetadata;
poBox?: string;
postalCode?: string;
region?: string;
streetAddress?: string;
type?: string;
}

§Properties

§
city?: string
[src]

The city of the address.

§
country?: string
[src]

The country of the address.

§
countryCode?: string
[src]

The ISO 3166-1 alpha-2 country code of the address.

§
extendedAddress?: string
[src]

The extended address of the address; for example, the apartment number.

§
readonly formattedType?: string
[src]

Output only. The type of the address translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

§
formattedValue?: string
[src]

The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values.

§

Metadata about the address.

§
poBox?: string
[src]

The P.O. box of the address.

§
postalCode?: string
[src]

The postal code of the address.

§
region?: string
[src]

The region of the address; for example, the state or province.

§
streetAddress?: string
[src]

The street address.

§
type?: string
[src]

The type of the address. The type can be custom or one of these predefined values: * home * work * other