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