REST Resource: domains
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रिसॉर्स: डोमेन
Postmaster API में रजिस्टर किया गया डोमेन रिसॉर्स.
JSON के काेड में दिखाना |
{
"name": string,
"createTime": string,
"permission": enum (Permission )
} |
फ़ील्ड |
name |
string
डोमेन का संसाधन नाम. डोमेन नेम का फ़ॉर्मैट domains/{domain_name} होता है. इसमें domain_name, पूरी तरह क्वालिफ़ाइड डोमेन नेम होता है, जैसे कि mymail.mydomain.com.
|
createTime |
string (Timestamp format)
उपयोगकर्ता ने इस डोमेन को रजिस्टर करने के समय का टाइमस्टैंप. इसे सर्वर असाइन करता है.
|
permission |
enum (Permission )
इस डोमेन के लिए उपयोगकर्ता की अनुमति. इसे सर्वर असाइन करता है.
|
अनुमति
किसी डोमेन के लिए, उपयोगकर्ता के पास ये अनुमतियां हो सकती हैं.
Enums |
PERMISSION_UNSPECIFIED |
यह डिफ़ॉल्ट वैल्यू है और इसका इस्तेमाल कभी भी साफ़ तौर पर नहीं किया जाना चाहिए. |
OWNER |
उपयोगकर्ता के पास डोमेन का रीड ऐक्सेस है और वह दूसरों के साथ ऐक्सेस शेयर कर सकता है. |
READER |
उपयोगकर्ता के पास डोमेन को पढ़ने का ऐक्सेस है. |
NONE |
उपयोगकर्ता के पास डोमेन की जानकारी ऐक्सेस करने की अनुमति नहीं है. उपयोगकर्ता ने डोमेन के मालिकाना हक की पुष्टि नहीं की है. इसके अलावा, डोमेन के अन्य मालिकों ने भी उसे ऐक्सेस नहीं दिया है. |
तरीके |
|
क्लाइंट से रजिस्टर किया गया कोई खास डोमेन पाता है. |
|
क्लाइंट के रजिस्टर किए गए डोमेन की सूची दिखाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# REST Resource: domains\n\n- [Resource: Domain](#Domain)\n - [JSON representation](#Domain.SCHEMA_REPRESENTATION)\n- [Permission](#Permission)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Domain\n----------------\n\nA registered domain resource in the Postmaster API.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"createTime\": string, \"permission\": enum (/workspace/gmail/postmaster/reference/rest/v1/domains#Permission) } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name of the Domain. Domain names have the form `domains/{domain_name}`, where domain_name is the fully qualified domain name (i.e., mymail.mydomain.com). |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Timestamp when the user registered this domain. Assigned by the server. |\n| `permission` | `enum (`[Permission](/workspace/gmail/postmaster/reference/rest/v1/domains#Permission)`)` User's permission for this domain. Assigned by the server. |\n\nPermission\n----------\n\nThe possible permissions a user can have for a domain.\n\n| Enums ||\n|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `PERMISSION_UNSPECIFIED` | The default value and should never be used explicitly. |\n| `OWNER` | User has read access to the domain and can share access with others. |\n| `READER` | User has read access to the domain. |\n| `NONE` | User doesn't have permission to access information about the domain. User did not verify ownership of domain nor was access granted by other domain owners. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------|------------------------------------------------------------|\n| ### [get](/workspace/gmail/postmaster/reference/rest/v1/domains/get) | Gets a specific domain registered by the client. |\n| ### [list](/workspace/gmail/postmaster/reference/rest/v1/domains/list) | Lists the domains that have been registered by the client. |"]]