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.Patch

Contents

Description

Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for fusiontables.table.patch method which the TablePatch request conforms to.

Creating a Request

tablePatch Source #

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

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

data TablePatch Source #

Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.

See: tablePatch smart constructor.

Instances
Eq TablePatch Source # 
Instance details

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

Data TablePatch Source # 
Instance details

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

Methods

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

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

toConstr :: TablePatch -> Constr #

dataTypeOf :: TablePatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TablePatch Source # 
Instance details

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

Generic TablePatch Source # 
Instance details

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

Associated Types

type Rep TablePatch :: Type -> Type #

GoogleRequest TablePatch Source # 
Instance details

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

Associated Types

type Rs TablePatch :: Type #

type Scopes TablePatch :: [Symbol] #

type Rep TablePatch Source # 
Instance details

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

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

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

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

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

Request Lenses

tpPayload :: Lens' TablePatch Table Source #

Multipart request metadata.

tpReplaceViewDefinition :: Lens' TablePatch (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.

tpTableId :: Lens' TablePatch Text Source #

ID of the table that is being updated.