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 |
Lists the delegates for the specified account. 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.list
.
Synopsis
- type UsersSettingsDelegatesListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("delegates" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDelegatesResponse))))))
- usersSettingsDelegatesList :: UsersSettingsDelegatesList
- data UsersSettingsDelegatesList
- usdlUserId :: Lens' UsersSettingsDelegatesList Text
REST Resource
type UsersSettingsDelegatesListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("delegates" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDelegatesResponse)))))) Source #
A resource alias for gmail.users.settings.delegates.list
method which the
UsersSettingsDelegatesList
request conforms to.
Creating a Request
usersSettingsDelegatesList :: UsersSettingsDelegatesList Source #
Creates a value of UsersSettingsDelegatesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsDelegatesList Source #
Lists the delegates for the specified account. This method is only available to service account clients that have been delegated domain-wide authority.
See: usersSettingsDelegatesList
smart constructor.
Instances
Request Lenses
usdlUserId :: Lens' UsersSettingsDelegatesList Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.