Wartości w polu enum | |
---|---|
minimal |
Zwraca tylko identyfikator i etykiety wiadomości e-mail. Nie zwraca nagłówków, treści ani ładunku wiadomości. |
full |
Zwraca pełne dane wiadomości e-mail z treścią treści w polu payload . Pole raw nie jest używane. Nie można używać tego formatu podczas uzyskiwania dostępu do interfejsu API za pomocą zakresu gmail.metadata. |
raw |
Zwraca pełne dane wiadomości e-mail z treścią w polu raw jako ciąg znaków zakodowany w standardzie base64url. Pole payload nie jest używane. Nie można używać tego formatu podczas uzyskiwania dostępu do interfejsu API za pomocą zakresu gmail.metadata. |
metadata |
Zwraca tylko identyfikator, etykiety i nagłówki e-maila. |
Format
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# Format\n\n| Enums ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `minimal` | Returns only email message ID and labels; does not return the email headers, body, or payload. |\n| `full` | Returns the full email message data with body content parsed in the `payload` field; the `raw` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope. |\n| `raw` | Returns the full email message data with body content in the `raw` field as a base64url encoded string; the `payload` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope. |\n| `metadata` | Returns only email message ID, labels, and email headers. |"]]