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 |
Updates the specified label.
See: Gmail API Reference for gmail.users.labels.update
.
Synopsis
- type UsersLabelsUpdateResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Label :> Put '[JSON] Label)))))))
- usersLabelsUpdate :: Label -> Text -> UsersLabelsUpdate
- data UsersLabelsUpdate
- uluPayload :: Lens' UsersLabelsUpdate Label
- uluUserId :: Lens' UsersLabelsUpdate Text
- uluId :: Lens' UsersLabelsUpdate Text
REST Resource
type UsersLabelsUpdateResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Label :> Put '[JSON] Label))))))) Source #
A resource alias for gmail.users.labels.update
method which the
UsersLabelsUpdate
request conforms to.
Creating a Request
Creates a value of UsersLabelsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersLabelsUpdate Source #
Updates the specified label.
See: usersLabelsUpdate
smart constructor.
Instances
Request Lenses
uluPayload :: Lens' UsersLabelsUpdate Label Source #
Multipart request metadata.