gogol-fusiontables-0.1.1: 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 # 
Data TemplatePatch Source # 

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 # 
Generic TemplatePatch Source # 

Associated Types

type Rep TemplatePatch :: * -> * #

GoogleRequest TemplatePatch Source # 

Associated Types

type Rs TemplatePatch :: * #

type Scopes TemplatePatch :: [Symbol] #

type Rep TemplatePatch Source # 
type Rep TemplatePatch = D1 (MetaData "TemplatePatch" "Network.Google.Resource.FusionTables.Template.Patch" "gogol-fusiontables-0.1.1-HwUYBGNtIgv705IZAQexzV" False) (C1 (MetaCons "TemplatePatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tppTemplateId") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Int32))) ((:*:) (S1 (MetaSel (Just Symbol "_tppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Template)) (S1 (MetaSel (Just Symbol "_tppTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TemplatePatch Source # 
type Scopes TemplatePatch = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs TemplatePatch Source # 

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