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 |
Updates an existing style. This method supports patch semantics.
See: Fusion Tables API Reference for fusiontables.style.patch
.
- type StylePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (Capture "styleId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` StyleSetting :> Patch `[JSON]` StyleSetting)))))))
- stylePatch :: StyleSetting -> Int32 -> Text -> StylePatch
- data StylePatch
- spPayload :: Lens' StylePatch StyleSetting
- spStyleId :: Lens' StylePatch Int32
- spTableId :: Lens' StylePatch Text
REST Resource
type StylePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (Capture "styleId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` StyleSetting :> Patch `[JSON]` StyleSetting))))))) Source
A resource alias for fusiontables.style.patch
method which the
StylePatch
request conforms to.
Creating a Request
Creates a value of StylePatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StylePatch Source
Updates an existing style. This method supports patch semantics.
See: stylePatch
smart constructor.
Request Lenses
spPayload :: Lens' StylePatch StyleSetting Source
Multipart request metadata.
spStyleId :: Lens' StylePatch Int32 Source
Identifier (within a table) for the style being updated.
spTableId :: Lens' StylePatch Text Source
Table whose style is being updated.