| 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 |
Network.Google.Resource.Tasks.Tasks.Patch
Description
Updates the specified task. This method supports patch semantics.
See: Tasks API Reference for tasks.tasks.patch.
- type TasksPatchResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Task :> Patch `[JSON]` Task)))))))
- tasksPatch :: Task -> Text -> Text -> TasksPatch
- data TasksPatch
- tpPayload :: Lens' TasksPatch Task
- tpTaskList :: Lens' TasksPatch Text
- tpTask :: Lens' TasksPatch Text
REST Resource
type TasksPatchResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Task :> Patch `[JSON]` Task))))))) Source
A resource alias for tasks.tasks.patch method which the
TasksPatch request conforms to.
Creating a Request
Arguments
| :: Task | |
| -> Text | |
| -> Text | |
| -> TasksPatch |
Creates a value of TasksPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TasksPatch Source
Updates the specified task. This method supports patch semantics.
See: tasksPatch smart constructor.
Instances
Request Lenses
tpPayload :: Lens' TasksPatch Task Source
Multipart request metadata.
tpTaskList :: Lens' TasksPatch Text Source
Task list identifier.
tpTask :: Lens' TasksPatch Text Source
Task identifier.