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

Contents

Description

Updates an existing template. This method supports patch semantics.

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

Synopsis

REST Resource

type TemplatePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Patch '[JSON] Template))))))) Source #

A resource alias for fusiontables.template.patch method which the TemplatePatch request conforms to.

Creating a Request

templatePatch Source #

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

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

data TemplatePatch Source #

Updates an existing template. This method supports patch semantics.

See: templatePatch smart constructor.

Instances
Eq TemplatePatch Source # 
Instance details

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

Data TemplatePatch Source # 
Instance details

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

Methods

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

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

toConstr :: TemplatePatch -> Constr #

dataTypeOf :: TemplatePatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TemplatePatch Source # 
Instance details

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

Generic TemplatePatch Source # 
Instance details

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

Associated Types

type Rep TemplatePatch :: Type -> Type #

GoogleRequest TemplatePatch Source # 
Instance details

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

Associated Types

type Rs TemplatePatch :: Type #

type Scopes TemplatePatch :: [Symbol] #

type Rep TemplatePatch Source # 
Instance details

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

type Rep TemplatePatch = D1 (MetaData "TemplatePatch" "Network.Google.Resource.FusionTables.Template.Patch" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "TemplatePatch'" PrefixI True) (S1 (MetaSel (Just "_tppTemplateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)) :*: (S1 (MetaSel (Just "_tppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Template) :*: S1 (MetaSel (Just "_tppTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TemplatePatch Source # 
Instance details

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

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

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

Request Lenses

tppTemplateId :: Lens' TemplatePatch Int32 Source #

Identifier for the template that is being updated

tppPayload :: Lens' TemplatePatch Template Source #

Multipart request metadata.

tppTableId :: Lens' TemplatePatch Text Source #

Table to which the updated template belongs