Contacts Service
Contacts
Obsolète. Utilisez plutôt le service avancé de l'API People.
Ce service permet aux scripts d'accéder à Google Contacts et de le modifier, à la fois pour les contacts individuels et pour les groupes.
Classes
Nom | Brève description |
AddressField
| Champ d'adresse d'un contact. |
CompanyField
| Champ "Entreprise" d'un contact. |
Contact
| Un contact contient le nom, l'adresse et diverses coordonnées d'un contact. |
ContactGroup
| Un ContactGroup est un groupe de contacts. |
ContactsApp
| Cette classe permet aux utilisateurs d'accéder à leurs propres contacts Google et de créer, supprimer et mettre à jour les contacts listés. |
CustomField
| Champ personnalisé dans un contact |
DateField
| Champ de date dans un contact. |
EmailField
| Champ d'adresse e-mail dans un contact. |
ExtendedField
| Enumération pour les champs de contacts étendus. |
Field
| Enumération pour les champs de contact. |
Gender
| Énumération du genre du contact. |
IMField
| Champ de messagerie instantanée dans un contact. |
PhoneField
| Champ de numéro de téléphone dans un contact. |
Priority
| Enumération de la priorité des contacts. |
Sensitivity
| Enumération pour la sensibilité au contact. |
UrlField
| Champ d'URL dans un contact. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/12/03 (UTC).
[null,null,["Dernière mise à jour le 2024/12/03 (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."]]],["This deprecated service allows scripts to manage Google Contacts, including individual contacts and groups. Key actions include accessing, creating, removing, and updating contacts via the `ContactsApp`. Contacts contain details like name and address, managed through classes like `AddressField`, `EmailField`, and `PhoneField`. These field classes allow setting and getting addresses and labels and designating a field as primary. Custom, date and other specific fields are also managed, and are able to get and set labels.\n"]]