| 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.Style.Update
Description
Updates an existing style.
See: Fusion Tables API Reference for fusiontables.style.update.
Synopsis
- type StyleUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (Capture "styleId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StyleSetting :> Put '[JSON] StyleSetting)))))))
- styleUpdate :: StyleSetting -> Int32 -> Text -> StyleUpdate
- data StyleUpdate
- suPayload :: Lens' StyleUpdate StyleSetting
- suStyleId :: Lens' StyleUpdate Int32
- suTableId :: Lens' StyleUpdate Text
REST Resource
type StyleUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (Capture "styleId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StyleSetting :> Put '[JSON] StyleSetting))))))) Source #
A resource alias for fusiontables.style.update method which the
StyleUpdate request conforms to.
Creating a Request
Arguments
| :: StyleSetting | |
| -> Int32 | |
| -> Text | |
| -> StyleUpdate |
Creates a value of StyleUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StyleUpdate Source #
Updates an existing style.
See: styleUpdate smart constructor.
Instances
Request Lenses
suPayload :: Lens' StyleUpdate StyleSetting Source #
Multipart request metadata.