| 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 |
Network.Google.Resource.Gmail.Users.Settings.SendAs.Delete
Description
Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.
See: Gmail API Reference for gmail.users.settings.sendAs.delete.
Synopsis
- type UsersSettingsSendAsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersSettingsSendAsDelete :: Text -> UsersSettingsSendAsDelete
- data UsersSettingsSendAsDelete
- ussadUserId :: Lens' UsersSettingsSendAsDelete Text
- ussadSendAsEmail :: Lens' UsersSettingsSendAsDelete Text
REST Resource
type UsersSettingsSendAsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for gmail.users.settings.sendAs.delete method which the
UsersSettingsSendAsDelete request conforms to.
Creating a Request
usersSettingsSendAsDelete Source #
Arguments
| :: Text | |
| -> UsersSettingsSendAsDelete |
Creates a value of UsersSettingsSendAsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsSendAsDelete Source #
Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.
See: usersSettingsSendAsDelete smart constructor.
Instances
Request Lenses
ussadUserId :: Lens' UsersSettingsSendAsDelete Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.
ussadSendAsEmail :: Lens' UsersSettingsSendAsDelete Text Source #
The send-as alias to be deleted.