gogol-storage-transfer-0.4.0: Google Storage 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.StorageTransfer.TransferJobs.Create

Contents

Description

Creates a transfer job that runs periodically.

See: Storage Transfer API Reference for storagetransfer.transferJobs.create.

Synopsis

REST Resource

type TransferJobsCreateResource = "v1" :> ("transferJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TransferJob :> Post '[JSON] TransferJob)))))))) Source #

A resource alias for storagetransfer.transferJobs.create method which the TransferJobsCreate request conforms to.

Creating a Request

transferJobsCreate Source #

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

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

data TransferJobsCreate Source #

Creates a transfer job that runs periodically.

See: transferJobsCreate smart constructor.

Instances
Eq TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

Data TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

Methods

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

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

toConstr :: TransferJobsCreate -> Constr #

dataTypeOf :: TransferJobsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

Generic TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

Associated Types

type Rep TransferJobsCreate :: Type -> Type #

GoogleRequest TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

Associated Types

type Rs TransferJobsCreate :: Type #

type Scopes TransferJobsCreate :: [Symbol] #

type Rep TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

type Rep TransferJobsCreate = D1 (MetaData "TransferJobsCreate" "Network.Google.Resource.StorageTransfer.TransferJobs.Create" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferJobsCreate'" PrefixI True) ((S1 (MetaSel (Just "_tjcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_tjcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tjcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_tjcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tjcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TransferJob) :*: S1 (MetaSel (Just "_tjcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

type Scopes TransferJobsCreate = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs TransferJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Create

Request Lenses

tjcUploadProtocol :: Lens' TransferJobsCreate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

tjcUploadType :: Lens' TransferJobsCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

tjcPayload :: Lens' TransferJobsCreate TransferJob Source #

Multipart request metadata.