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 Transcoding 構文を使用します。
パスパラメータ
パラメータ |
userId |
string
ユーザーのメールアドレス。特別な値 me を使用すると、認証済みユーザーを示すことができます。
|
sendAsEmail |
string
このエイリアスを使用して送信されたメールの「From:」ヘッダーに表示されるメールアドレスです。
|
id |
string
SmimeInfo の不変の ID です。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には 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。"],[[["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"]]