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

Contents

Description

Updates the name or type of an existing column.

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

Synopsis

REST Resource

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

A resource alias for fusiontables.column.update method which the ColumnUpdate request conforms to.

Creating a Request

columnUpdate Source #

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

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

data ColumnUpdate Source #

Updates the name or type of an existing column.

See: columnUpdate smart constructor.

Instances

Eq ColumnUpdate Source # 
Data ColumnUpdate Source # 

Methods

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

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

toConstr :: ColumnUpdate -> Constr #

dataTypeOf :: ColumnUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ColumnUpdate Source # 
Generic ColumnUpdate Source # 

Associated Types

type Rep ColumnUpdate :: * -> * #

GoogleRequest ColumnUpdate Source # 

Associated Types

type Rs ColumnUpdate :: * #

type Scopes ColumnUpdate :: [Symbol] #

type Rep ColumnUpdate Source # 
type Rep ColumnUpdate = D1 (MetaData "ColumnUpdate" "Network.Google.Resource.FusionTables.Column.Update" "gogol-fusiontables-0.2.0-CmX6Kl3SH2zA3wqi7QKCV3" False) (C1 (MetaCons "ColumnUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Column)) ((:*:) (S1 (MetaSel (Just Symbol "_cuTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cuColumnId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ColumnUpdate Source # 
type Scopes ColumnUpdate = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs ColumnUpdate Source # 

Request Lenses

cuPayload :: Lens' ColumnUpdate Column Source #

Multipart request metadata.

cuTableId :: Lens' ColumnUpdate Text Source #

Table for which the column is being updated.

cuColumnId :: Lens' ColumnUpdate Text Source #

Name or identifier for the column that is being updated.