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.Table.Copy

Contents

Description

Copies a table.

See: Fusion Tables API Reference for fusiontables.table.copy.

Synopsis

REST Resource

type TableCopyResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("copy" :> (QueryParam "copyPresentation" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Table)))))) Source #

A resource alias for fusiontables.table.copy method which the TableCopy request conforms to.

Creating a Request

tableCopy Source #

Arguments

:: Text

tcTableId

-> TableCopy 

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

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

data TableCopy Source #

Copies a table.

See: tableCopy smart constructor.

Instances

Eq TableCopy Source # 
Data TableCopy Source # 

Methods

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

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

toConstr :: TableCopy -> Constr #

dataTypeOf :: TableCopy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableCopy Source # 
Generic TableCopy Source # 

Associated Types

type Rep TableCopy :: * -> * #

GoogleRequest TableCopy Source # 

Associated Types

type Rs TableCopy :: * #

type Scopes TableCopy :: [Symbol] #

type Rep TableCopy Source # 
type Rep TableCopy = D1 (MetaData "TableCopy" "Network.Google.Resource.FusionTables.Table.Copy" "gogol-fusiontables-0.2.0-CmX6Kl3SH2zA3wqi7QKCV3" False) (C1 (MetaCons "TableCopy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tcTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tcCopyPresentation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Scopes TableCopy Source # 
type Scopes TableCopy = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ((:) Symbol "https://www.googleapis.com/auth/fusiontables.readonly" ([] Symbol))
type Rs TableCopy Source # 

Request Lenses

tcTableId :: Lens' TableCopy Text Source #

ID of the table that is being copied.

tcCopyPresentation :: Lens' TableCopy (Maybe Bool) Source #

Whether to also copy tabs, styles, and templates. Default is false.