REST Resource: users.settings.delegates
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: Yetki verilmiş kullanıcı
Temsilcinin ayarları. Yetki verilmiş kullanıcılar, yetki veren kullanıcının hesabında ileti okuyabilir, gönderebilir ve silebilir. Ayrıca kişileri görüntüleyebilir ve ekleyebilir. Temsilciler hakkında daha fazla bilgi için "Posta yetkisi ayarlama" başlıklı makaleyi inceleyin.
JSON gösterimi |
{
"delegateEmail": string,
"verificationStatus": enum (VerificationStatus )
} |
Alanlar |
delegateEmail |
string
Yetki verilen kullanıcının e-posta adresi.
|
verificationStatus |
enum (VerificationStatus )
Bu adresin doğrulanıp doğrulanmadığını ve hesap için temsilci olarak çalışıp çalışamayacağını belirtir. Salt okunur.
|
VerificationStatus
Bir e-posta adresinin sahipliğinin, yetkilendirme kullanımı için doğrulanıp doğrulanmadığını belirtir.
Sıralamalar |
verificationStatusUnspecified |
Belirtilmemiş doğrulama durumu. |
accepted |
Adres, hesap için yetki verilmiş kullanıcı olarak kullanılabilir. |
pending |
Adrese gönderilen doğrulama isteği, sahip tarafından henüz kabul edilmedi. |
rejected |
Adrese gönderilen doğrulama isteği, sahip tarafından reddedildi. |
expired |
Adrese gönderilen doğrulama isteği, doğrulama yapılmadan süresi doldu. |
Yöntemler |
|
Doğrulama e-postası göndermeden, doğrulama durumu doğrudan accepted olarak ayarlanmış bir temsilci ekler. |
|
Belirtilen temsilciyi (herhangi bir doğrulama durumuna sahip olabilir) kaldırır ve bu temsilcinin kullanılması için gerekli olabilecek tüm doğrulamaları iptal eder. |
|
Belirtilen temsilciyi alır. |
|
Belirtilen hesap için yetki verilmiş kullanıcıları listeler. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# REST Resource: users.settings.delegates\n\n- [Resource: Delegate](#Delegate)\n - [JSON representation](#Delegate.SCHEMA_REPRESENTATION)\n- [VerificationStatus](#VerificationStatus)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Delegate\n------------------\n\nSettings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See [\"Set up mail delegation\"](https://support.google.com/mail/answer/138350) for more information about delegates.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"delegateEmail\": string, \"verificationStatus\": enum (/workspace/gmail/api/reference/rest/v1/users.settings.delegates#VerificationStatus) } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `delegateEmail` | `string` The email address of the delegate. |\n| `verificationStatus` | `enum (`[VerificationStatus](/workspace/gmail/api/reference/rest/v1/users.settings.delegates#VerificationStatus)`)` Indicates whether this address has been verified and can act as a delegate for the account. Read-only. |\n\nVerificationStatus\n------------------\n\nIndicates whether ownership of an email address has been verified for delegation use.\n\n| Enums ||\n|---------------------------------|------------------------------------------------------------------------------------------|\n| `verificationStatusUnspecified` | Unspecified verification status. |\n| `accepted` | The address can act a delegate for the account. |\n| `pending` | A verification request was mailed to the address, and the owner has not yet accepted it. |\n| `rejected` | A verification request was mailed to the address, and the owner rejected it. |\n| `expired` | A verification request was mailed to the address, and it expired without verification. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/create) | Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. |\n| ### [delete](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/delete) | Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. |\n| ### [get](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/get) | Gets the specified delegate. |\n| ### [list](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/list) | Lists the delegates for the specified account. |"]]