gogol-fusiontables-0.5.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.Column.Insert

Contents

Description

Adds a new column to the table.

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

Synopsis

REST Resource

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

A resource alias for fusiontables.column.insert method which the ColumnInsert request conforms to.

Creating a Request

columnInsert Source #

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

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

data ColumnInsert Source #

Adds a new column to the table.

See: columnInsert smart constructor.

Instances
Eq ColumnInsert Source # 
Instance details

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

Data ColumnInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ColumnInsert -> Constr #

dataTypeOf :: ColumnInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ColumnInsert Source # 
Instance details

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

Generic ColumnInsert Source # 
Instance details

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

Associated Types

type Rep ColumnInsert :: Type -> Type #

GoogleRequest ColumnInsert Source # 
Instance details

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

Associated Types

type Rs ColumnInsert :: Type #

type Scopes ColumnInsert :: [Symbol] #

type Rep ColumnInsert Source # 
Instance details

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

type Rep ColumnInsert = D1 (MetaData "ColumnInsert" "Network.Google.Resource.FusionTables.Column.Insert" "gogol-fusiontables-0.5.0-py8U6C4XIQEEqslolIXN0" False) (C1 (MetaCons "ColumnInsert'" PrefixI True) (S1 (MetaSel (Just "_ciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Column) :*: S1 (MetaSel (Just "_ciTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ColumnInsert Source # 
Instance details

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

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

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

Request Lenses

ciPayload :: Lens' ColumnInsert Column Source #

Multipart request metadata.

ciTableId :: Lens' ColumnInsert Text Source #

Table for which a new column is being added.