gogol-admin-datatransfer-0.4.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 # 
Instance details

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

Data TransfersInsert Source # 
Instance details

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

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

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

Generic TransfersInsert Source # 
Instance details

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

Associated Types

type Rep TransfersInsert :: Type -> Type #

GoogleRequest TransfersInsert Source # 
Instance details

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

Associated Types

type Rs TransfersInsert :: Type #

type Scopes TransfersInsert :: [Symbol] #

type Rep TransfersInsert Source # 
Instance details

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

type Rep TransfersInsert = D1 (MetaData "TransfersInsert" "Network.Google.Resource.DataTransfer.Transfers.Insert" "gogol-admin-datatransfer-0.4.0-JsuV0tlMqFKAaPa3BNMlRD" True) (C1 (MetaCons "TransfersInsert'" PrefixI True) (S1 (MetaSel (Just "_tiPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DataTransfer)))
type Scopes TransfersInsert Source # 
Instance details

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

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

Defined in Network.Google.Resource.DataTransfer.Transfers.Insert

Request Lenses

tiPayload :: Lens' TransfersInsert DataTransfer Source #

Multipart request metadata.