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 all labels in the user's mailbox.
See: Gmail API Reference for gmail.users.labels.list
.
Synopsis
- type UsersLabelsListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLabelsResponse)))))
- usersLabelsList :: UsersLabelsList
- data UsersLabelsList
- ullUserId :: Lens' UsersLabelsList Text
REST Resource
type UsersLabelsListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLabelsResponse))))) Source #
A resource alias for gmail.users.labels.list
method which the
UsersLabelsList
request conforms to.
Creating a Request
usersLabelsList :: UsersLabelsList Source #
Creates a value of UsersLabelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersLabelsList Source #
Lists all labels in the user's mailbox.
See: usersLabelsList
smart constructor.