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

Contents

Description

Updates an existing template

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

Synopsis

REST Resource

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

A resource alias for fusiontables.template.update method which the TemplateUpdate request conforms to.

Creating a Request

templateUpdate Source #

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

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

data TemplateUpdate Source #

Updates an existing template

See: templateUpdate smart constructor.

Instances
Eq TemplateUpdate Source # 
Instance details

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

Data TemplateUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: TemplateUpdate -> Constr #

dataTypeOf :: TemplateUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TemplateUpdate Source # 
Instance details

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

Generic TemplateUpdate Source # 
Instance details

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

Associated Types

type Rep TemplateUpdate :: Type -> Type #

GoogleRequest TemplateUpdate Source # 
Instance details

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

Associated Types

type Rs TemplateUpdate :: Type #

type Scopes TemplateUpdate :: [Symbol] #

type Rep TemplateUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

tuTemplateId :: Lens' TemplateUpdate Int32 Source #

Identifier for the template that is being updated

tuPayload :: Lens' TemplateUpdate Template Source #

Multipart request metadata.

tuTableId :: Lens' TemplateUpdate Text Source #

Table to which the updated template belongs