gogol-fusiontables-0.2.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.Style.Patch

Contents

Description

Updates an existing style. This method supports patch semantics.

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

Synopsis

REST Resource

type StylePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (Capture "styleId" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StyleSetting :> Patch '[JSON] StyleSetting))))))) Source #

A resource alias for fusiontables.style.patch method which the StylePatch request conforms to.

Creating a Request

stylePatch Source #

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

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

data StylePatch Source #

Updates an existing style. This method supports patch semantics.

See: stylePatch smart constructor.

Instances

Eq StylePatch Source # 
Data StylePatch Source # 

Methods

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

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

toConstr :: StylePatch -> Constr #

dataTypeOf :: StylePatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StylePatch Source # 
Generic StylePatch Source # 

Associated Types

type Rep StylePatch :: * -> * #

GoogleRequest StylePatch Source # 

Associated Types

type Rs StylePatch :: * #

type Scopes StylePatch :: [Symbol] #

type Rep StylePatch Source # 
type Rep StylePatch = D1 (MetaData "StylePatch" "Network.Google.Resource.FusionTables.Style.Patch" "gogol-fusiontables-0.2.0-CmX6Kl3SH2zA3wqi7QKCV3" False) (C1 (MetaCons "StylePatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StyleSetting)) ((:*:) (S1 (MetaSel (Just Symbol "_spStyleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))) (S1 (MetaSel (Just Symbol "_spTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes StylePatch Source # 
type Scopes StylePatch = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs StylePatch Source # 

Request Lenses

spPayload :: Lens' StylePatch StyleSetting Source #

Multipart request metadata.

spStyleId :: Lens' StylePatch Int32 Source #

Identifier (within a table) for the style being updated.

spTableId :: Lens' StylePatch Text Source #

Table whose style is being updated.