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
| संपर्क में मौजूद यूआरएल फ़ील्ड. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis Contacts service is deprecated; use the People API advanced service instead.\u003c/p\u003e\n"],["\u003cp\u003eThe Contacts service previously allowed scripts to access and modify Google Contacts data, including individual contacts and groups.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContactsApp\u003c/code\u003e class was the primary interface for creating, removing, and updating contacts within Google Contacts.\u003c/p\u003e\n"],["\u003cp\u003eVarious classes like \u003ccode\u003eContact\u003c/code\u003e, \u003ccode\u003eContactGroup\u003c/code\u003e, and field-specific classes like \u003ccode\u003eAddressField\u003c/code\u003e, \u003ccode\u003eEmailField\u003c/code\u003e were used to represent and manipulate contact data.\u003c/p\u003e\n"],["\u003cp\u003eAlthough deprecated, the documentation details the available classes and methods for interacting with Google Contacts through this older service.\u003c/p\u003e\n"]]],["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"],null,[]]