gogol-fusiontables-0.1.0: Google Fusion Tables SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.FusionTables.Style.Insert

Contents

Description

Adds a new style for the table.

See: Fusion Tables API Reference for fusiontables.style.insert.

Synopsis

REST Resource

type StyleInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StyleSetting :> Post '[JSON] StyleSetting)))))) Source #

A resource alias for fusiontables.style.insert method which the StyleInsert request conforms to.

Creating a Request

styleInsert Source #

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 Source #

Adds a new style for the table.

See: styleInsert smart constructor.

Instances

Eq StyleInsert Source # 
Data StyleInsert Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StyleInsert -> c StyleInsert #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StyleInsert #

toConstr :: StyleInsert -> Constr #

dataTypeOf :: StyleInsert -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StyleInsert) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StyleInsert) #

gmapT :: (forall b. Data b => b -> b) -> StyleInsert -> StyleInsert #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StyleInsert -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StyleInsert -> r #

gmapQ :: (forall d. Data d => d -> u) -> StyleInsert -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StyleInsert -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StyleInsert -> m StyleInsert #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StyleInsert -> m StyleInsert #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StyleInsert -> m StyleInsert #

Show StyleInsert Source # 
Generic StyleInsert Source # 

Associated Types

type Rep StyleInsert :: * -> * #

GoogleRequest StyleInsert Source # 

Associated Types

type Rs StyleInsert :: * #

type Scopes StyleInsert :: [Symbol] #

type Rep StyleInsert Source # 
type Rep StyleInsert = D1 (MetaData "StyleInsert" "Network.Google.Resource.FusionTables.Style.Insert" "gogol-fusiontables-0.1.0-ITZn20TKSYXAHDvdGiCf6R" False) (C1 (MetaCons "StyleInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_siPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StyleSetting)) (S1 (MetaSel (Just Symbol "_siTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes StyleInsert Source # 
type Scopes StyleInsert = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs StyleInsert Source # 

Request Lenses

siPayload :: Lens' StyleInsert StyleSetting Source #

Multipart request metadata.

siTableId :: Lens' StyleInsert Text Source #

Table for which a new style is being added