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.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 # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

Data TableUpdate Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

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 # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

Generic TableUpdate Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

Associated Types

type Rep TableUpdate :: Type -> Type #

GoogleRequest TableUpdate Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

Associated Types

type Rs TableUpdate :: Type #

type Scopes TableUpdate :: [Symbol] #

type Rep TableUpdate Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

type Rep TableUpdate = D1 (MetaData "TableUpdate" "Network.Google.Resource.FusionTables.Table.Update" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "TableUpdate'" PrefixI True) (S1 (MetaSel (Just "_tabPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table) :*: (S1 (MetaSel (Just "_tabReplaceViewDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tabTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TableUpdate Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.Update

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

Defined in Network.Google.Resource.FusionTables.Table.Update

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.