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.Insert
Description
Adds a new style for the table.
See: Fusion Tables API Reference for fusiontables.style.insert
.
- type StyleInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StyleSetting :> Post '[JSON] StyleSetting))))))
- styleInsert :: StyleSetting -> Text -> StyleInsert
- data StyleInsert
- siPayload :: Lens' StyleInsert StyleSetting
- siTableId :: Lens' StyleInsert Text
REST Resource
type StyleInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StyleSetting :> Post '[JSON] StyleSetting)))))) #
A resource alias for fusiontables.style.insert
method which the
StyleInsert
request conforms to.
Creating a Request
Arguments
:: StyleSetting | |
-> Text | |
-> StyleInsert |
Creates a value of StyleInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StyleInsert #
Adds a new style for the table.
See: styleInsert
smart constructor.
Instances
Eq StyleInsert # | |
Data StyleInsert # | |
Show StyleInsert # | |
Generic StyleInsert # | |
GoogleRequest StyleInsert # | |
type Rep StyleInsert # | |
type Scopes StyleInsert # | |
type Rs StyleInsert # | |
Request Lenses
siPayload :: Lens' StyleInsert StyleSetting #
Multipart request metadata.
siTableId :: Lens' StyleInsert Text #
Table for which a new style is being added