gogol-fusiontables-0.4.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.Template.Insert

Contents

Description

Creates a new template for the table.

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

Synopsis

REST Resource

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

A resource alias for fusiontables.template.insert method which the TemplateInsert request conforms to.

Creating a Request

templateInsert Source #

Creates a value of TemplateInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TemplateInsert Source #

Creates a new template for the table.

See: templateInsert smart constructor.

Instances
Eq TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

Data TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

Methods

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

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

toConstr :: TemplateInsert -> Constr #

dataTypeOf :: TemplateInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

Generic TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

Associated Types

type Rep TemplateInsert :: Type -> Type #

GoogleRequest TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

Associated Types

type Rs TemplateInsert :: Type #

type Scopes TemplateInsert :: [Symbol] #

type Rep TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

type Rep TemplateInsert = D1 (MetaData "TemplateInsert" "Network.Google.Resource.FusionTables.Template.Insert" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "TemplateInsert'" PrefixI True) (S1 (MetaSel (Just "_temPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Template) :*: S1 (MetaSel (Just "_temTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

type Scopes TemplateInsert = "https://www.googleapis.com/auth/fusiontables" ': ([] :: [Symbol])
type Rs TemplateInsert Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Template.Insert

Request Lenses

temPayload :: Lens' TemplateInsert Template Source #

Multipart request metadata.

temTableId :: Lens' TemplateInsert Text Source #

Table for which a new template is being created