Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the specified S/MIME config for the specified send-as alias.
See: Gmail API Reference for gmail.users.settings.sendAs.smimeInfo.get
.
Synopsis
- type UsersSettingsSendAsSmimeInfoGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("smimeInfo" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SmimeInfo)))))))))
- usersSettingsSendAsSmimeInfoGet :: Text -> Text -> UsersSettingsSendAsSmimeInfoGet
- data UsersSettingsSendAsSmimeInfoGet
- ussasigUserId :: Lens' UsersSettingsSendAsSmimeInfoGet Text
- ussasigSendAsEmail :: Lens' UsersSettingsSendAsSmimeInfoGet Text
- ussasigId :: Lens' UsersSettingsSendAsSmimeInfoGet Text
REST Resource
type UsersSettingsSendAsSmimeInfoGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("smimeInfo" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SmimeInfo))))))))) Source #
A resource alias for gmail.users.settings.sendAs.smimeInfo.get
method which the
UsersSettingsSendAsSmimeInfoGet
request conforms to.
Creating a Request
usersSettingsSendAsSmimeInfoGet Source #
Creates a value of UsersSettingsSendAsSmimeInfoGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsSendAsSmimeInfoGet Source #
Gets the specified S/MIME config for the specified send-as alias.
See: usersSettingsSendAsSmimeInfoGet
smart constructor.
Instances
Request Lenses
ussasigUserId :: Lens' UsersSettingsSendAsSmimeInfoGet Text Source #
The user's email address. The special value me can be used to indicate the authenticated user.
ussasigSendAsEmail :: Lens' UsersSettingsSendAsSmimeInfoGet Text Source #
The email address that appears in the "From:" header for mail sent using this alias.