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.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 # 
Instance details

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

Data StylePatch Source # 
Instance details

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

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 # 
Instance details

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

Generic StylePatch Source # 
Instance details

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

Associated Types

type Rep StylePatch :: Type -> Type #

GoogleRequest StylePatch Source # 
Instance details

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

Associated Types

type Rs StylePatch :: Type #

type Scopes StylePatch :: [Symbol] #

type Rep StylePatch Source # 
Instance details

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

type Rep StylePatch = D1 (MetaData "StylePatch" "Network.Google.Resource.FusionTables.Style.Patch" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "StylePatch'" PrefixI True) (S1 (MetaSel (Just "_spPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StyleSetting) :*: (S1 (MetaSel (Just "_spStyleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)) :*: S1 (MetaSel (Just "_spTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes StylePatch Source # 
Instance details

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

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

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

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.