Copyright | (c) 2015 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
.
- type UsersLabelsGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Label))))))
- usersLabelsGet :: Text -> 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 | |
-> 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.
Request Lenses
ulgUserId :: Lens' UsersLabelsGet Text Source
The user's email address. The special value me can be used to indicate the authenticated user.
ulgId :: Lens' UsersLabelsGet Text Source
The ID of the label to retrieve.