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 )
ההרשאה של המשתמש בדומיין הזה. הוקצה על ידי השרת.
|
הרשאה
ההרשאות האפשריות של משתמש בדומיין.
טיפוסים בני מנייה (enum) |
PERMISSION_UNSPECIFIED |
ערך ברירת המחדל, ואין להשתמש בו באופן מפורש. |
OWNER |
למשתמש יש הרשאת קריאה לדומיין והוא יכול לשתף את הגישה עם אחרים. |
READER |
למשתמש יש גישת קריאה לדומיין. |
NONE |
למשתמש אין הרשאה לגשת למידע על הדומיין. המשתמש לא אימת את הבעלות על הדומיין ולא קיבל גישה מבעלי דומיינים אחרים. |
Methods |
|
אחזור דומיין ספציפי שרשום על ידי הלקוח. |
|
רשימה של הדומיינים שרשומים על ידי הלקוח. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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. |"]]