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 an existing template
See: Fusion Tables API Reference for fusiontables.template.update
.
Synopsis
- type TemplateUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Put '[JSON] Template)))))))
- templateUpdate :: Int32 -> Template -> Text -> TemplateUpdate
- data TemplateUpdate
- tuTemplateId :: Lens' TemplateUpdate Int32
- tuPayload :: Lens' TemplateUpdate Template
- tuTableId :: Lens' TemplateUpdate Text
REST Resource
type TemplateUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Put '[JSON] Template))))))) Source #
A resource alias for fusiontables.template.update
method which the
TemplateUpdate
request conforms to.
Creating a Request
Creates a value of TemplateUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TemplateUpdate Source #
Updates an existing template
See: templateUpdate
smart constructor.
Instances
Request Lenses
tuTemplateId :: Lens' TemplateUpdate Int32 Source #
Identifier for the template that is being updated