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 |
Sends a verification email to the specified send-as alias address. The verification status must be pending. 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.verify
.
Synopsis
- type UsersSettingsSendAsVerifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("verify" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))))
- usersSettingsSendAsVerify :: Text -> UsersSettingsSendAsVerify
- data UsersSettingsSendAsVerify
- ussavUserId :: Lens' UsersSettingsSendAsVerify Text
- ussavSendAsEmail :: Lens' UsersSettingsSendAsVerify Text
REST Resource
type UsersSettingsSendAsVerifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("verify" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))) Source #
A resource alias for gmail.users.settings.sendAs.verify
method which the
UsersSettingsSendAsVerify
request conforms to.
Creating a Request
usersSettingsSendAsVerify Source #
Creates a value of UsersSettingsSendAsVerify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsSendAsVerify Source #
Sends a verification email to the specified send-as alias address. The verification status must be pending. This method is only available to service account clients that have been delegated domain-wide authority.
See: usersSettingsSendAsVerify
smart constructor.
Instances
Request Lenses
ussavUserId :: Lens' UsersSettingsSendAsVerify Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.
ussavSendAsEmail :: Lens' UsersSettingsSendAsVerify Text Source #
The send-as alias to be verified.