| 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 |
Network.Google.Resource.Mirror.Timeline.Patch
Description
Updates a timeline item in place. This method supports patch semantics.
See: Google Mirror API Reference for mirror.timeline.patch.
Synopsis
- type TimelinePatchResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TimelineItem :> Patch '[JSON] TimelineItem)))))
- timelinePatch :: TimelineItem -> Text -> TimelinePatch
- data TimelinePatch
- tpPayload :: Lens' TimelinePatch TimelineItem
- tpId :: Lens' TimelinePatch Text
REST Resource
type TimelinePatchResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TimelineItem :> Patch '[JSON] TimelineItem))))) Source #
A resource alias for mirror.timeline.patch method which the
TimelinePatch request conforms to.
Creating a Request
Arguments
| :: TimelineItem | |
| -> Text | |
| -> TimelinePatch |
Creates a value of TimelinePatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TimelinePatch Source #
Updates a timeline item in place. This method supports patch semantics.
See: timelinePatch smart constructor.
Instances
Request Lenses
tpPayload :: Lens' TimelinePatch TimelineItem Source #
Multipart request metadata.