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 label.
See: Gmail API Reference for gmail.users.labels.get
.
Synopsis
- type UsersLabelsGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Label))))))
- usersLabelsGet :: Text -> UsersLabelsGet
- data UsersLabelsGet
- ulgUserId :: Lens' UsersLabelsGet Text
- ulgId :: Lens' UsersLabelsGet Text
REST Resource
type UsersLabelsGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Label)))))) Source #
A resource alias for gmail.users.labels.get
method which the
UsersLabelsGet
request conforms to.
Creating a Request
:: Text | |
-> UsersLabelsGet |
Creates a value of UsersLabelsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersLabelsGet Source #
Gets the specified label.
See: usersLabelsGet
smart constructor.