gogol-fusiontables-0.3.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)))))) #

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

Creating a Request

tablePatch #

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 #

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 # 
Data TablePatch # 

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 # 
Generic TablePatch # 

Associated Types

type Rep TablePatch :: * -> * #

GoogleRequest TablePatch # 

Associated Types

type Rs TablePatch :: * #

type Scopes TablePatch :: [Symbol] #

type Rep TablePatch # 
type Rep TablePatch = D1 (MetaData "TablePatch" "Network.Google.Resource.FusionTables.Table.Patch" "gogol-fusiontables-0.3.0-BCRYNMU2vIA3DV02VkRgko" False) (C1 (MetaCons "TablePatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table)) ((:*:) (S1 (MetaSel (Just Symbol "_tpReplaceViewDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_tpTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TablePatch # 
type Scopes TablePatch = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs TablePatch # 

Request Lenses

tpPayload :: Lens' TablePatch Table #

Multipart request metadata.

tpReplaceViewDefinition :: Lens' TablePatch (Maybe Bool) #

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 #

ID of the table that is being updated.