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 delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.
See: Gmail API Reference for gmail.users.settings.delegates.get
.
Synopsis
- type UsersSettingsDelegatesGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("delegates" :> (Capture "delegateEmail" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Delegate)))))))
- usersSettingsDelegatesGet :: Text -> UsersSettingsDelegatesGet
- data UsersSettingsDelegatesGet
- usdgUserId :: Lens' UsersSettingsDelegatesGet Text
- usdgDelegateEmail :: Lens' UsersSettingsDelegatesGet Text
REST Resource
type UsersSettingsDelegatesGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("delegates" :> (Capture "delegateEmail" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Delegate))))))) Source #
A resource alias for gmail.users.settings.delegates.get
method which the
UsersSettingsDelegatesGet
request conforms to.
Creating a Request
usersSettingsDelegatesGet Source #
Creates a value of UsersSettingsDelegatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsDelegatesGet Source #
Gets the specified delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.
See: usersSettingsDelegatesGet
smart constructor.
Instances
Request Lenses
usdgUserId :: Lens' UsersSettingsDelegatesGet Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.
usdgDelegateEmail :: Lens' UsersSettingsDelegatesGet Text Source #
The email address of the user whose delegate relationship is to be retrieved.