Method: users.settings.sendAs.smimeInfo.get
Ruft die angegebene S/MIME-Konfiguration für den angegebenen „Senden als“-Alias ab.
HTTP-Anfrage
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
userId |
string
Die E-Mail-Adresse des Nutzers. Mit dem speziellen Wert me kann der authentifizierte Nutzer angegeben werden.
|
sendAsEmail |
string
Die E-Mail-Adresse, die bei E-Mails, die über dieses Alias gesendet werden, im "Von:"-Header angezeigt wird.
|
id |
string
Die unveränderliche ID für SmimeInfo.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von SmimeInfo
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
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
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-05 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]