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 |
Update tasks that are leased out of a TaskQueue. This method supports patch semantics.
See: TaskQueue API Reference for taskqueue.tasks.patch
.
- type TasksPatchResource = "taskqueue" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("taskqueues" :> (Capture "taskqueue" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "newLeaseSeconds" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Task :> Patch '[JSON] Task))))))))))
- tasksPatch :: Text -> Text -> Task -> Text -> Int32 -> TasksPatch
- data TasksPatch
- tpTaskQueue :: Lens' TasksPatch Text
- tpProject :: Lens' TasksPatch Text
- tpPayload :: Lens' TasksPatch Task
- tpTask :: Lens' TasksPatch Text
- tpNewLeaseSeconds :: Lens' TasksPatch Int32
REST Resource
type TasksPatchResource = "taskqueue" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("taskqueues" :> (Capture "taskqueue" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "newLeaseSeconds" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Task :> Patch '[JSON] Task)))))))))) Source #
A resource alias for taskqueue.tasks.patch
method which the
TasksPatch
request conforms to.
Creating a Request
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 #
Update tasks that are leased out of a TaskQueue. This method supports patch semantics.
See: tasksPatch
smart constructor.
Eq TasksPatch Source # | |
Data TasksPatch Source # | |
Show TasksPatch Source # | |
Generic TasksPatch Source # | |
GoogleRequest TasksPatch Source # | |
type Rep TasksPatch Source # | |
type Scopes TasksPatch Source # | |
type Rs TasksPatch Source # | |
Request Lenses
tpNewLeaseSeconds :: Lens' TasksPatch Int32 Source #
The new lease in seconds.