gogol-fusiontables-0.2.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.Table.Update

Contents

Description

Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.

See: Fusion Tables API Reference for fusiontables.table.update.

Synopsis

REST Resource

type TableUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> (QueryParam "replaceViewDefinition" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Put '[JSON] Table)))))) Source #

A resource alias for fusiontables.table.update method which the TableUpdate request conforms to.

Creating a Request

tableUpdate Source #

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

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

data TableUpdate Source #

Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.

See: tableUpdate smart constructor.

Instances

Eq TableUpdate Source # 
Data TableUpdate Source # 

Methods

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

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

toConstr :: TableUpdate -> Constr #

dataTypeOf :: TableUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableUpdate Source # 
Generic TableUpdate Source # 

Associated Types

type Rep TableUpdate :: * -> * #

GoogleRequest TableUpdate Source # 

Associated Types

type Rs TableUpdate :: * #

type Scopes TableUpdate :: [Symbol] #

type Rep TableUpdate Source # 
type Rep TableUpdate = D1 (MetaData "TableUpdate" "Network.Google.Resource.FusionTables.Table.Update" "gogol-fusiontables-0.2.0-CmX6Kl3SH2zA3wqi7QKCV3" False) (C1 (MetaCons "TableUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tabPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table)) ((:*:) (S1 (MetaSel (Just Symbol "_tabReplaceViewDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_tabTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TableUpdate Source # 
type Scopes TableUpdate = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs TableUpdate Source # 

Request Lenses

tabPayload :: Lens' TableUpdate Table Source #

Multipart request metadata.

tabReplaceViewDefinition :: Lens' TableUpdate (Maybe Bool) Source #

Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.

tabTableId :: Lens' TableUpdate Text Source #

ID of the table that is being updated.