gogol-admin-datatransfer-0.2.0: Google Admin Data Transfer 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.DataTransfer.Transfers.Insert

Contents

Description

Inserts a data transfer request.

See: Admin Data Transfer API Reference for datatransfer.transfers.insert.

Synopsis

REST Resource

type TransfersInsertResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DataTransfer :> Post '[JSON] DataTransfer))))) Source #

A resource alias for datatransfer.transfers.insert method which the TransfersInsert request conforms to.

Creating a Request

transfersInsert Source #

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

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

data TransfersInsert Source #

Inserts a data transfer request.

See: transfersInsert smart constructor.

Instances

Eq TransfersInsert Source # 
Data TransfersInsert Source # 

Methods

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

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

toConstr :: TransfersInsert -> Constr #

dataTypeOf :: TransfersInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransfersInsert Source # 
Generic TransfersInsert Source # 
GoogleRequest TransfersInsert Source # 
type Rep TransfersInsert Source # 
type Rep TransfersInsert = D1 (MetaData "TransfersInsert" "Network.Google.Resource.DataTransfer.Transfers.Insert" "gogol-admin-datatransfer-0.2.0-7kFLic6fUkR990QWgqZSHS" True) (C1 (MetaCons "TransfersInsert'" PrefixI True) (S1 (MetaSel (Just Symbol "_tiPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DataTransfer)))
type Scopes TransfersInsert Source # 
type Scopes TransfersInsert = (:) Symbol "https://www.googleapis.com/auth/admin.datatransfer" ([] Symbol)
type Rs TransfersInsert Source # 

Request Lenses

tiPayload :: Lens' TransfersInsert DataTransfer Source #

Multipart request metadata.