Contacts Service
Kontak
Tidak digunakan lagi. Sebagai gantinya, gunakan layanan lanjutan
People API
Layanan ini memungkinkan skrip mengakses dan mengubah Google Kontak, baik untuk
kontak individual maupun untuk grup.
Class
Nama | Deskripsi singkat |
AddressField
| Kolom alamat di kontak. |
CompanyField
| Kolom Perusahaan di Kontak. |
Contact
| Kontak berisi nama, alamat, dan berbagai detail kontak. |
ContactGroup
| ContactGroup adalah grup kontak. |
ContactsApp
| Class ini memungkinkan pengguna mengakses Google Kontak mereka sendiri dan membuat, menghapus, serta memperbarui
kontak yang tercantum di dalamnya. |
CustomField
| Kolom kustom di Kontak. |
DateField
| Kolom tanggal di Kontak. |
EmailField
| Kolom email di Kontak. |
ExtendedField
| Enum untuk kolom kontak yang diperluas. |
Field
| Enum untuk kolom kontak. |
Gender
| Enum untuk gender kontak. |
IMField
| Kolom pesan instan di Kontak. |
PhoneField
| Kolom nomor telepon di Kontak. |
Priority
| Enum untuk prioritas kontak. |
Sensitivity
| Enum untuk sensitivitas kontak. |
UrlField
| Kolom URL di Kontak. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-12-03 UTC.
[null,null,["Terakhir diperbarui pada 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"]]