Contacts Service
รายชื่อติดต่อ
เลิกใช้งานแล้ว แต่ให้ใช้บริการขั้นสูงของ People API แทน
บริการนี้ช่วยให้สคริปต์เข้าถึงและแก้ไข Google Contacts ได้ ทั้งสำหรับรายชื่อติดต่อแต่ละรายการและกลุ่ม
ชั้นเรียน
ชื่อ | รายละเอียดแบบย่อ |
AddressField
| ช่องที่อยู่ในรายชื่อติดต่อ |
CompanyField
| ช่องบริษัทในรายชื่อติดต่อ |
Contact
| รายชื่อติดต่อประกอบด้วยชื่อ ที่อยู่ และรายละเอียดการติดต่อต่างๆ ของผู้ติดต่อ |
ContactGroup
| ContactGroup คือกลุ่มรายชื่อติดต่อ |
ContactsApp
| คลาสนี้ช่วยให้ผู้ใช้เข้าถึง Google Contacts ของตนเอง รวมถึงสร้าง นําออก และอัปเดตรายชื่อติดต่อที่แสดงอยู่ในนั้น |
CustomField
| ช่องที่กำหนดเองในรายชื่อติดต่อ |
DateField
| ช่องวันที่ในรายชื่อติดต่อ |
EmailField
| ช่องอีเมลในรายชื่อติดต่อ |
ExtendedField
| อาร์เรย์แบบจำกัดสำหรับช่องรายชื่อติดต่อแบบขยาย |
Field
| อาร์เรย์แบบจำกัดสำหรับช่องรายชื่อติดต่อ |
Gender
| อาร์เรย์แบบจำกัดสำหรับเพศของผู้ติดต่อ |
IMField
| ช่องการรับส่งข้อความโต้ตอบแบบทันทีในรายชื่อติดต่อ |
PhoneField
| ช่องหมายเลขโทรศัพท์ในรายชื่อติดต่อ |
Priority
| อาร์เรย์แบบจำกัดสำหรับลําดับความสําคัญของรายชื่อติดต่อ |
Sensitivity
| อาร์เรย์แบบจำกัดสำหรับความไวต่อการสัมผัส |
UrlField
| ช่อง URL ในรายชื่อติดต่อ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-03 UTC
[null,null,["อัปเดตล่าสุด 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"]]