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 |
Sets the default S/MIME config for the specified send-as alias.
See: Gmail API Reference for gmail.users.settings.sendAs.smimeInfo.setDefault
.
Synopsis
- type UsersSettingsSendAsSmimeInfoSetDefaultResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("smimeInfo" :> (Capture "id" Text :> ("setDefault" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))))))
- usersSettingsSendAsSmimeInfoSetDefault :: Text -> Text -> UsersSettingsSendAsSmimeInfoSetDefault
- data UsersSettingsSendAsSmimeInfoSetDefault
- ussasisdUserId :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text
- ussasisdSendAsEmail :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text
- ussasisdId :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text
REST Resource
type UsersSettingsSendAsSmimeInfoSetDefaultResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("smimeInfo" :> (Capture "id" Text :> ("setDefault" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))))) Source #
A resource alias for gmail.users.settings.sendAs.smimeInfo.setDefault
method which the
UsersSettingsSendAsSmimeInfoSetDefault
request conforms to.
Creating a Request
usersSettingsSendAsSmimeInfoSetDefault Source #
Creates a value of UsersSettingsSendAsSmimeInfoSetDefault
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsSendAsSmimeInfoSetDefault Source #
Sets the default S/MIME config for the specified send-as alias.
See: usersSettingsSendAsSmimeInfoSetDefault
smart constructor.
Instances
Request Lenses
ussasisdUserId :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text Source #
The user's email address. The special value me can be used to indicate the authenticated user.
ussasisdSendAsEmail :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text Source #
The email address that appears in the "From:" header for mail sent using this alias.
ussasisdId :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text Source #
The immutable ID for the SmimeInfo.