अगर यह वैल्यू 'सही है' पर सेट है, तो आईएमएपी में किसी मैसेज पर 'मिटाया गया' का निशान लगाने के बाद, Gmail उसे तुरंत मिटा देगा. ऐसा न करने पर, Gmail मिटाए गए के तौर पर मार्क किए गए मैसेज को मिटाने से पहले, क्लाइंट से अपडेट का इंतज़ार करेगा.
किसी मैसेज पर 'मिटाया गया' का निशान लगाने और उसे आखिरी बार दिखने वाले आईएमएपी फ़ोल्डर से हटाने पर, उस पर की जाने वाली कार्रवाई.
maxFolderSize
integer
आईएमएपी फ़ोल्डर में मैसेज की संख्या पर लगाई जाने वाली वैकल्पिक सीमा. मान्य वैल्यू 0, 1,000, 2,000, 5,000 या 10,000 हैं. शून्य वैल्यू का मतलब है कि कोई सीमा नहीं है.
ExpungeBehavior
Enums
expungeBehaviorUnspecified
कोई खास व्यवहार नहीं.
archive
मिटाए गए के तौर पर मार्क किए गए मैसेज संग्रहित करें.
trash
मिटाए गए के तौर पर मार्क किए गए मैसेज को ट्रैश में ले जाएं.
deleteForever
मिटाए गए के तौर पर मार्क किए गए मैसेज को तुरंत और हमेशा के लिए मिटाएं. मिटाए गए मैसेज वापस नहीं लाए जा सकते.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# ImapSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ExpungeBehavior](#ExpungeBehavior)\n\nIMAP settings for an account.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"enabled\": boolean, \"autoExpunge\": boolean, \"expungeBehavior\": enum (/workspace/gmail/api/reference/rest/v1/ImapSettings#ExpungeBehavior), \"maxFolderSize\": integer } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `enabled` | `boolean` Whether IMAP is enabled for the account. |\n| `autoExpunge` | `boolean` If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted. |\n| `expungeBehavior` | `enum (`[ExpungeBehavior](/workspace/gmail/api/reference/rest/v1/ImapSettings#ExpungeBehavior)`)` The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder. |\n| `maxFolderSize` | `integer` An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit. |\n\nExpungeBehavior\n---------------\n\n| Enums ||\n|------------------------------|-----------------------------------------------------------------------------------------------------------|\n| `expungeBehaviorUnspecified` | Unspecified behavior. |\n| `archive` | Archive messages marked as deleted. |\n| `trash` | Move messages marked as deleted to the trash. |\n| `deleteForever` | Immediately and permanently delete messages marked as deleted. The expunged messages cannot be recovered. |"]]