Method: users.settings.getPop
בקשת HTTP
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string
זוהי כתובת האימייל של המשתמש. ניתן להשתמש בערך המיוחד 'me' כדי לציין את המשתמש המאומת.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של PopSettings
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/gmail.settings.basic
https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-05 (שעון UTC)."],[[["Retrieves a user's POP settings using their email address."],["Requires an empty request body and returns PopSettings upon success."],["Utilizes gRPC Transcoding for its URL structure and needs specific OAuth scopes for authorization."],["Allows identifying the authenticated user with the \"me\" value in the userId path parameter."]]],["This document details how to retrieve POP settings via a `GET` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop`. The `userId` path parameter, representing a user's email (or \"me\"), is required. The request body must be empty. A successful response contains an instance of `PopSettings`. Authorization requires one of four listed OAuth scopes. The `Try it!` section is available for experimentation. It also mentions gRPC Transcoding.\n"]]