Method: users.settings.sendAs.smimeInfo.list
แสดงรายการการกำหนดค่า S/MIME สำหรับชื่อแทนการส่งที่ระบุ
คำขอ HTTP
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
userId |
string
อีเมลของผู้ใช้ ค่าพิเศษ me สามารถใช้เพื่อระบุผู้ใช้ที่ตรวจสอบสิทธิ์แล้ว
|
sendAsEmail |
string
ที่อยู่อีเมลที่ปรากฏในส่วน "จาก:" สำหรับอีเมลที่ส่งโดยใช้ชื่อแทนนี้
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"smimeInfo": [
{
object (SmimeInfo )
}
]
} |
ช่อง |
smimeInfo[] |
object (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
สำหรับข้อมูลเพิ่มเติม โปรดดูที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-05 UTC
[null,null,["อัปเดตล่าสุด 2024-09-05 UTC"],[[["Lists S/MIME configs for a specified send-as alias using an HTTP GET request."],["Requires providing user ID and send-as email address as path parameters."],["The response includes a list of SmimeInfo objects in JSON format, detailing the S/MIME configurations."],["Needs authorization with specific OAuth scopes like `gmail.settings.basic` or `gmail.modify`."]]],["This API endpoint retrieves S/MIME configurations for a specific send-as alias within a user's Gmail settings. It uses a `GET` request to the provided URL, incorporating `userId` and `sendAsEmail` as path parameters. The request body must be empty. A successful response returns a JSON object containing an array named `smimeInfo`. Access requires one of five specified OAuth scopes for authorization. Users can find more information in the Authorization guide.\n"]]