| 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.FusionTables.Template.Patch
Description
Updates an existing template. This method supports patch semantics.
See: Fusion Tables API Reference for fusiontables.template.patch.
Synopsis
- type TemplatePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Patch '[JSON] Template)))))))
- templatePatch :: Int32 -> Template -> Text -> TemplatePatch
- data TemplatePatch
- tppTemplateId :: Lens' TemplatePatch Int32
- tppPayload :: Lens' TemplatePatch Template
- tppTableId :: Lens' TemplatePatch Text
REST Resource
type TemplatePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Patch '[JSON] Template))))))) Source #
A resource alias for fusiontables.template.patch method which the
TemplatePatch request conforms to.
Creating a Request
Arguments
| :: Int32 | |
| -> Template | |
| -> Text | |
| -> TemplatePatch |
Creates a value of TemplatePatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TemplatePatch Source #
Updates an existing template. This method supports patch semantics.
See: templatePatch smart constructor.
Instances
Request Lenses
tppTemplateId :: Lens' TemplatePatch Int32 Source #
Identifier for the template that is being updated
tppPayload :: Lens' TemplatePatch Template Source #
Multipart request metadata.
tppTableId :: Lens' TemplatePatch Text Source #
Table to which the updated template belongs