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

Contents

Description

Updates the name or type of an existing column. This method supports patch semantics.

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

Synopsis

REST Resource

type ColumnPatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (Capture "columnId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Column :> Patch '[JSON] Column))))))) Source #

A resource alias for fusiontables.column.patch method which the ColumnPatch request conforms to.

Creating a Request

columnPatch Source #

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

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

data ColumnPatch Source #

Updates the name or type of an existing column. This method supports patch semantics.

See: columnPatch smart constructor.

Instances
Eq ColumnPatch Source # 
Instance details

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

Data ColumnPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ColumnPatch -> Constr #

dataTypeOf :: ColumnPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ColumnPatch Source # 
Instance details

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

Generic ColumnPatch Source # 
Instance details

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

Associated Types

type Rep ColumnPatch :: Type -> Type #

GoogleRequest ColumnPatch Source # 
Instance details

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

Associated Types

type Rs ColumnPatch :: Type #

type Scopes ColumnPatch :: [Symbol] #

type Rep ColumnPatch Source # 
Instance details

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

type Rep ColumnPatch = D1 (MetaData "ColumnPatch" "Network.Google.Resource.FusionTables.Column.Patch" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "ColumnPatch'" PrefixI True) (S1 (MetaSel (Just "_cpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Column) :*: (S1 (MetaSel (Just "_cpTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cpColumnId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ColumnPatch Source # 
Instance details

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

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

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

Request Lenses

cpPayload :: Lens' ColumnPatch Column Source #

Multipart request metadata.

cpTableId :: Lens' ColumnPatch Text Source #

Table for which the column is being updated.

cpColumnId :: Lens' ColumnPatch Text Source #

Name or identifier for the column that is being updated.