Contacts Service
Contacts
Deprecated. Instead, use the People API
advanced service
This service allows scripts to access and modify Google Contacts, both for
individual contacts and for groups.
Classes
Name | Brief description |
AddressField
| Address field in a contact. |
CompanyField
| Company field in a Contact. |
Contact
| A Contact contains the name, address, and various contact details of a contact. |
ContactGroup
| A ContactGroup is is a group of contacts. |
ContactsApp
| This class allows users to access their own Google Contacts and create, remove, and update
contacts listed therein. |
CustomField
| A custom field in a Contact. |
DateField
| A date field in a Contact. |
EmailField
| An email field in a Contact. |
ExtendedField
| An enum for extended contacts fields. |
Field
| An enum for contacts fields. |
Gender
| An enum for contact gender. |
IMField
| An instant messaging field in a Contact. |
PhoneField
| A phone number field in a Contact. |
Priority
| An enum for contact priority. |
Sensitivity
| An enum for contact sensitivity. |
UrlField
| A URL field in a Contact. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["This Contacts service is deprecated; use the People API advanced service instead."],["The Contacts service previously allowed scripts to access and modify Google Contacts data, including individual contacts and groups."],["The `ContactsApp` class was the primary interface for creating, removing, and updating contacts within Google Contacts."],["Various classes like `Contact`, `ContactGroup`, and field-specific classes like `AddressField`, `EmailField` were used to represent and manipulate contact data."],["Although deprecated, the documentation details the available classes and methods for interacting with Google Contacts through this older service."]]],[]]