Contacts Service
Kontakty
Wycofany. Zamiast tego użyj interfejsu People API jako usługi zaawansowanej.
Ta usługa umożliwia skryptom dostęp do Kontaktów Google i ich modyfikowanie, zarówno w przypadku poszczególnych kontaktów, jak i grup.
Zajęcia
Nazwa | Krótki opis |
AddressField
| Pole adresu w kontaktach. |
CompanyField
| Pole „Firma” w kontakcie. |
Contact
| Kontakt zawiera nazwę, adres i różne informacje kontaktowe. |
ContactGroup
| KontaktGroup to grupa kontaktów. |
ContactsApp
| Ta klasa umożliwia użytkownikom dostęp do ich własnych kontaktów w Google oraz tworzenie, usuwanie i aktualizowanie kontaktów na tej liście. |
CustomField
| Pole niestandardowe w kontakcie. |
DateField
| Pole daty w kontakcie. |
EmailField
| Pole adresu e-mail w kontakcie. |
ExtendedField
| Wyliczenie pól rozszerzonych kontaktów. |
Field
| Wyliczenie pól kontaktów. |
Gender
| Typ danych enum określający płeć kontaktu. |
IMField
| Pole wiadomości czatu w kontaktach. |
PhoneField
| Pole numeru telefonu w kontaktie. |
Priority
| Typ danych enum określający priorytet kontaktu. |
Sensitivity
| Typ danych enum określający poziom poufności kontaktu. |
UrlField
| Pole adresu URL w kontakcie. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-03 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]