Method: users.settings.sendAs.smimeInfo.get
הפונקציה מקבלת את תצורת S/MIME שצוינה עבור הכינוי שצוין מסוג 'שליחה כ'.
בקשת HTTP
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string
זוהי כתובת האימייל של המשתמש. ניתן להשתמש בערך המיוחד me כדי לציין את המשתמש המאומת.
|
sendAsEmail |
string
כתובת האימייל שמופיעה בכותרת 'מאת:' בהודעות שנשלחות באמצעות כתובת האימייל הזו.
|
id |
string
המזהה הקבוע של SmimeInfo.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של SmimeInfo
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של 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
https://www.googleapis.com/auth/gmail.settings.sharing
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-05 (שעון UTC)."],[[["Retrieves the S/MIME configuration for a specific send-as alias using the provided user ID, send-as email address, and S/MIME ID."],["Requires an empty request body and returns the S/MIME configuration details in the response body if successful."],["Needs authorization with specific OAuth scopes, such as `gmail.settings.basic`, `mail.google.com`, `gmail.modify`, `gmail.readonly`, or `gmail.settings.sharing`."],["Utilizes a specific HTTP GET request to access and retrieve the desired information from the Gmail API."]]],["This API retrieves an S/MIME configuration for a specified send-as alias. It utilizes a `GET` request to a URL with `userId`, `sendAsEmail`, and `id` path parameters. The `userId` identifies the user, `sendAsEmail` is the alias's email, and `id` is the SmimeInfo's ID. The request body must be empty, and a successful response returns a `SmimeInfo` instance. The operation needs specific OAuth scopes for authorization.\n"]]