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

OtherContactsListOptions

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

Additional options for People#otherContactsList.

interface OtherContactsListOptions {
pageSize?: number;
pageToken?: string;
readMask?: string;
requestSyncToken?: boolean;
sources?:
| "READ_SOURCE_TYPE_UNSPECIFIED"
| "READ_SOURCE_TYPE_PROFILE"
| "READ_SOURCE_TYPE_CONTACT"
| "READ_SOURCE_TYPE_DOMAIN_CONTACT"
| "READ_SOURCE_TYPE_OTHER_CONTACT";
syncToken?: string;
}

§Properties

§
pageSize?: number
[src]

Optional. The number of "Other contacts" to include in the response. Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0.

§
pageToken?: string
[src]

Optional. A page token, received from a previous response next_page_token. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to otherContacts.list must match the first call that provided the page token.

§
readMask?: string
[src]

Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. What values are valid depend on what ReadSourceType is used. If READ_SOURCE_TYPE_CONTACT is used, valid values are: * emailAddresses * metadata * names * phoneNumbers * photos If READ_SOURCE_TYPE_PROFILE is used, valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined

§
requestSyncToken?: boolean
[src]

Optional. Whether the response should return next_sync_token on the last page of results. It can be used to get incremental changes since the last request by setting it on the request sync_token. More details about sync behavior at otherContacts.list.

§
sources?: "READ_SOURCE_TYPE_UNSPECIFIED" | "READ_SOURCE_TYPE_PROFILE" | "READ_SOURCE_TYPE_CONTACT" | "READ_SOURCE_TYPE_DOMAIN_CONTACT" | "READ_SOURCE_TYPE_OTHER_CONTACT"
[src]

Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT if not set. Possible values for this field are: * READ_SOURCE_TYPE_CONTACT * READ_SOURCE_TYPE_CONTACT,READ_SOURCE_TYPE_PROFILE Specifying READ_SOURCE_TYPE_PROFILE without specifying READ_SOURCE_TYPE_CONTACT is not permitted.

§
syncToken?: string
[src]

Optional. A sync token, received from a previous response next_sync_token Provide this to retrieve only the resources changed since the last request. When syncing, all other parameters provided to otherContacts.list must match the first call that provided the sync token. More details about sync behavior at otherContacts.list.